Difference between revisions of "Key codes"

From ZeroPhone
Jump to: navigation, search
m
 
Line 3: Line 3:
 
'''TODO: regenerate the image so that the key names are all caps, as they're actually used in code'''
 
'''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 [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.
+
This is a list of keycodes (names of keys) as corresponding to the ZeroPhone keypad buttons, and as used in [[Software#ZPUI|ZPUI]] code. All the key names were taken from [https://elixir.free-electrons.com/linux/v2.6.38/source/include/linux/input.h#L182 Linux input subsystem keycode list], except for some names that are new, like KEY_* and KEY_# - this was done so that the names of these keys would be easier to remember.

Latest revision as of 14:47, 13 February 2018

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. All the key names were taken from Linux input subsystem keycode list, except for some names that are new, like KEY_* and KEY_# - this was done so that the names of these keys would be easier to remember.