# How get keyboard stroke in perspective session

**URL:** <https://forum.inductiveautomation.com/t/how-get-keyboard-stroke-in-perspective-session/40343>\
**Category:** Ignition Early Access\
**Created:** [November 5, 2020, 3:13pm UTC](https://forum.inductiveautomation.com/t/how-get-keyboard-stroke-in-perspective-session/40343 "2020-11-05T15:13:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 5, 2020, 3:13pm UTC](https://forum.inductiveautomation.com/t/how-get-keyboard-stroke-in-perspective-session/40343/1 "2020-11-05T15:13:26Z")

</div>

Hi  
I’d like to detect user keyboard press on perspective session but the onKeyPress event only work for component with focus which view doesn’t have this feature

Also there is no key stroke option in session event.  
What is workaround for this?  
Thanks

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [November 5, 2020, 3:19pm UTC](https://forum.inductiveautomation.com/t/how-get-keyboard-stroke-in-perspective-session/40343/2 "2020-11-05T15:19:39Z")

</div>

There isn’t a workaround at this time. We are currently working on bringing Perspective keystroke capturing into Ignition. There is not really a firm ETA, but I would guess… maybe 8.1.3?
