Skip to content

Commit

Permalink
Fixed page up key and added additional keys.
Browse files Browse the repository at this point in the history
Updated binaries.
  • Loading branch information
sofakng committed Feb 24, 2023
1 parent 43c0b73 commit 0f6d2e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file modified binaries/arm-risd
Binary file not shown.
Binary file modified binaries/risd
Binary file not shown.
7 changes: 6 additions & 1 deletion keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void fill_keylist()
keys[i++] = create_key("KEY_RIGHT", KEY_RIGHT);

keys[i++] = create_key("KEY_PAGEDOWN", KEY_PAGEDOWN);
keys[i++] = create_key("KEY_UP", KEY_PAGEUP);
keys[i++] = create_key("KEY_PAGEUP", KEY_PAGEUP);

keys[i++] = create_key("KEY_ENTER", KEY_ENTER);
keys[i++] = create_key("KEY_RETURN", KEY_ENTER);
Expand All @@ -93,6 +93,11 @@ void fill_keylist()
keys[i++] = create_key("KEY_PLUS", KEY_KPPLUS);
keys[i++] = create_key("KEY_MINUS", KEY_KPMINUS);

keys[i++] = create_key("KEY_CAPSLOCK", KEY_CAPSLOCK);
keys[i++] = create_key("KEY_NUMLOCK", KEY_NUMLOCK);
keys[i++] = create_key("KEY_SCROLLLOCK", KEY_SCROLLLOCK);
keys[i++] = create_key("KEY_SYSRQ", KEY_SYSRQ);

if (i > KEYLIST_SIZE) {
fprintf(stderr, "Key list size is too large.\r\n");
exit_with_error(1);
Expand Down

0 comments on commit 0f6d2e9

Please sign in to comment.