# Reading the keys on the keyboard

**URL:** <https://discourse.processing.org/t/reading-the-keys-on-the-keyboard/1944>\
**Category:** Processing\
**Created:** [July 20, 2018, 11:30pm UTC](https://discourse.processing.org/t/reading-the-keys-on-the-keyboard/1944 "2018-07-20T23:30:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcripe](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@pcripe](https://discourse.processing.org/u/pcripe)\
**Post date:** [July 20, 2018, 11:30pm UTC](https://discourse.processing.org/t/reading-the-keys-on-the-keyboard/1944/1 "2018-07-20T23:30:28Z")

</div>

I have been brushing up o Processing after buying a Microsoft Surface Book 2. When I get to trying to draw letters on the keyboard, it seems the key code is not passed into the program. Anyone have a similar problem? It may be unique to the Surface Book 2.

---

<div class="post-metadata">

**Author:** ![pcripe](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@pcripe](https://discourse.processing.org/u/pcripe)\
**Post date:** [July 20, 2018, 11:31pm UTC](https://discourse.processing.org/t/reading-the-keys-on-the-keyboard/1944/2 "2018-07-20T23:31:33Z")

</div>

BTW: I was working with the Java mode.

---

<div class="post-metadata">

**Author:** ![pcripe](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@pcripe](https://discourse.processing.org/u/pcripe)\
**Post date:** [July 20, 2018, 11:37pm UTC](https://discourse.processing.org/t/reading-the-keys-on-the-keyboard/1944/3 "2018-07-20T23:37:21Z")

</div>

Now I am embarrassed, I left out a needed line code — so please ignore this issue.
