Difference between revisions of "Key codes"

From ZeroPhone
Jump to: navigation, search
(Created page with "=Key codes= As forwarded in Python apps. 200px")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Key codes=
+
[[File:Key_codes_diagram.png|600px|thumb|right]]
As forwarded in Python apps.
 
  
 +
'''TODO: regenerate the image so that the key names are all caps, as they're actually used in code'''
  
[[File:Key_codes_diagram.png|200px]]
+
This is a list of keycodes (names of keys) as corresponding to the ZeroPhone keypad buttons, and as used in [[ZPUI]] code. The names were taken from [https://elixir.free-electrons.com/linux/v2.6.38/source/include/linux/input.h#L182 Linux input keycode list], except for some that were , like KEY_* and KEY_#, which were used because they'd be easier to remember&type.

Revision as of 06:43, 12 December 2017

Key codes diagram.png

TODO: regenerate the image so that the key names are all caps, as they're actually used in code

This is a list of keycodes (names of keys) as corresponding to the ZeroPhone keypad buttons, and as used in ZPUI code. The names were taken from Linux input keycode list, except for some that were , like KEY_* and KEY_#, which were used because they'd be easier to remember&type.