Added keypress codes for OPT modifier.
This commit is contained in:
parent
8b8927b24a
commit
8632701e2f
1 changed files with 2 additions and 0 deletions
|
|
@ -227,6 +227,8 @@ void update_keyboard(keypad_eventqueue_obj_t *queue) {
|
|||
if (ascii > 0) {
|
||||
if (keystate[KEY_ALT]) {
|
||||
ringbuf_put(&keyqueue, '\e');
|
||||
} else if (keystate[KEY_OPT]) {
|
||||
ringbuf_put(&keyqueue, '\x10');
|
||||
}
|
||||
ringbuf_put(&keyqueue, ascii);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue