feat: add string mappings for keypad key events
This commit is contained in:
parent
5cc6724a07
commit
14dbc08bcf
1 changed files with 19 additions and 0 deletions
|
@ -231,6 +231,25 @@ pub const utils = struct {
|
|||
vaxis.Key.f33 => "f33",
|
||||
vaxis.Key.f34 => "f34",
|
||||
vaxis.Key.f35 => "f35",
|
||||
vaxis.Key.kp_decimal => "kp_decimal",
|
||||
vaxis.Key.kp_divide => "kp_divide",
|
||||
vaxis.Key.kp_multiply => "kp_multiply",
|
||||
vaxis.Key.kp_subtract => "kp_subtract",
|
||||
vaxis.Key.kp_add => "kp_add",
|
||||
vaxis.Key.kp_enter => "kp_enter",
|
||||
vaxis.Key.kp_equal => "kp_equal",
|
||||
vaxis.Key.kp_separator => "kp_separator",
|
||||
vaxis.Key.kp_left => "kp_left",
|
||||
vaxis.Key.kp_right => "kp_right",
|
||||
vaxis.Key.kp_up => "kp_up",
|
||||
vaxis.Key.kp_down => "kp_down",
|
||||
vaxis.Key.kp_page_up => "kp_page_up",
|
||||
vaxis.Key.kp_page_down => "kp_page_down",
|
||||
vaxis.Key.kp_home => "kp_home",
|
||||
vaxis.Key.kp_end => "kp_end",
|
||||
vaxis.Key.kp_insert => "kp_insert",
|
||||
vaxis.Key.kp_delete => "kp_delete",
|
||||
vaxis.Key.kp_begin => "kp_begin",
|
||||
vaxis.Key.media_play => "media_play",
|
||||
vaxis.Key.media_pause => "media_pause",
|
||||
vaxis.Key.media_play_pause => "media_play_pause",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue