- MODIFER_DECODER =
{
2 => {shift: true},
3 => {alt: true},
4 => {shift: true, alt: true},
5 => {control: true},
6 => {shift: true, control: true},
7 => {alt: true, control: true},
8 => {shift: true, alt: true, control: true},
9 => {alt: true},
10 => {shift: true, alt: true},
}
- KEY_MAP_DECODER =
{
3 => :delete,
2 => :insert,
6 => :page_down,
5 => :page_up,
13 => :f3,
14 => :f4,
15 => :f5,
17 => :f6,
18 => :f7,
19 => :f8,
20 => :f9,
21 => :f10,
23 => :f11,
24 => :f12,
}
- BUTTON_ACTIONS =
{
32 => [:button_down, 1], 33 => [:button_down, 2], 34=> [:button_down, 3], 35=>:button_up,
64 => :drag,
96 => :wheel_down, 97 => :wheel_up
}