This adopts a "writer" concept, vaguely inspired by the ta parameter writer. This might turn out to be not a great idea if the response/offsets for heterogenous commands are too inconvenient to keep track of. This breaks every example that uses maple--only example/maple_controller is updated to use the new interface.
1.8 KiB
1.8 KiB
1 | code | usage | normal | shift |
---|---|---|---|---|
2 | 0x00 | no_operation | ||
3 | 0x01 | rollover_error | ||
4 | 0x02 | post_fail | ||
5 | 0x03 | undefined_error | ||
6 | 0x04 | a_A | a | A |
7 | 0x05 | b_B | b | B |
8 | 0x06 | c_C | c | C |
9 | 0x07 | d_D | d | D |
10 | 0x08 | e_E | e | E |
11 | 0x09 | f_F | f | F |
12 | 0x0a | g_G | g | G |
13 | 0x0b | h_H | h | H |
14 | 0x0c | i_I | i | I |
15 | 0x0d | j_J | j | J |
16 | 0x0e | k_K | k | K |
17 | 0x0f | l_L | l | L |
18 | 0x10 | m_M | m | M |
19 | 0x11 | n_N | n | N |
20 | 0x12 | o_O | o | O |
21 | 0x13 | p_P | p | P |
22 | 0x14 | q_Q | q | Q |
23 | 0x15 | r_R | r | R |
24 | 0x16 | s_S | s | S |
25 | 0x17 | t_T | t | T |
26 | 0x18 | u_U | u | U |
27 | 0x19 | v_V | v | V |
28 | 0x1a | w_W | w | W |
29 | 0x1b | x_X | x | X |
30 | 0x1c | y_Y | y | Y |
31 | 0x1d | z_Z | z | Z |
32 | 0x1e | _1_exclam | 1 | ! |
33 | 0x1f | _2_at | 2 | @ |
34 | 0x20 | _3_numbersign | 3 | # |
35 | 0x21 | _4_dollar | 4 | $ |
36 | 0x22 | _5_percent | 5 | % |
37 | 0x23 | _6_asciicircum | 6 | ^ |
38 | 0x24 | _7_ampersand | 7 | & |
39 | 0x25 | _8_asterisk | 8 | * |
40 | 0x26 | _9_parenleft | 9 | ( |
41 | 0x27 | _0_parenright | 0 | ) |
42 | 0x28 | _return | ||
43 | 0x29 | esc | ||
44 | 0x2a | backspace | ||
45 | 0x2b | tab | ||
46 | 0x2c | spacebar | ||
47 | 0x2d | minus_underscore | - | _ |
48 | 0x2e | equal_plus | = | + |
49 | 0x2f | bracketleft_braceleft | [ | { |
50 | 0x30 | bracketright_braceright | ] | } |
51 | 0x31 | backslash_bar | \ | | |
52 | 0x32 | iso_numbersign_tilde | # | ~ |
53 | 0x33 | semicolon_colon | ; | : |
54 | 0x34 | apostrophe_quotedbl | ' | " |
55 | 0x35 | grave_asciitilde | ' | ~ |
56 | 0x36 | comma_less | , | < |
57 | 0x37 | period_greater | . | > |
58 | 0x38 | slash_question | / | ? |
59 | 0x39 | caps_lock | ||
60 | 0x3a | F1 | ||
61 | 0x3b | F2 | ||
62 | 0x3c | F3 | ||
63 | 0x3d | F4 | ||
64 | 0x3e | F5 | ||
65 | 0x3f | F6 | ||
66 | 0x40 | F7 | ||
67 | 0x41 | F8 | ||
68 | 0x42 | F9 | ||
69 | 0x43 | F10 | ||
70 | 0x44 | F11 | ||
71 | 0x45 | F12 | ||
72 | 0x46 | print_screen | ||
73 | 0x47 | scroll_lock | ||
74 | 0x48 | pause | ||
75 | 0x49 | insert | ||
76 | 0x4a | home | ||
77 | 0x4b | page_up | ||
78 | 0x4c | _delete | ||
79 | 0x4d | end | ||
80 | 0x4e | page_down | ||
81 | 0x4f | right_arrow | ||
82 | 0x50 | left_arrow | ||
83 | 0x51 | down_arrow | ||
84 | 0x52 | up_arrow |