[kivy-users] LIST OF KEYBOARD KEY CODE

471 views
Skip to first unread message

Mr. Mog

unread,
Jun 2, 2021, 9:36:51 AM6/2/21
to kivy-...@googlegroups.com
Hello,

I try to have my app recognising the key pressed by checking its key code...(for example the key code for a back key on Android is 27)

Can someone help!

Thanks.

Degenerate Tech

unread,
Jun 2, 2021, 12:29:43 PM6/2/21
to Kivy users support

Robert

unread,
Jun 2, 2021, 12:52:50 PM6/2/21
to Kivy users support
Nothing unique to Kivy, a search will give lots of hits.
Then you will see that key that is named Back on Android is actually Esc and different from Back on the keyboard.

Pranav Balaji Pooruli

unread,
Jun 2, 2021, 1:34:18 PM6/2/21
to kivy-...@googlegroups.com
The key codes have nothing to do with Kivy. Kivy maps the back button to the ESC key, and that’s why it has a code of 27. ESC has the code 27 on the ASCII Table, as shown below:


--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAGpYEyw4-sUdooeV%2BLq9iu3cUGWoTUUqMd-2TaL-9sx7L8J4-A%40mail.gmail.com.

Mr. Mog

unread,
Jun 4, 2021, 11:44:45 AM6/4/21
to kivy-...@googlegroups.com
Helpful, thanks 🙏

Reply all
Reply to author
Forward
0 new messages