Commit a9e75d20 authored by Vincent Wei's avatar Vincent Wei
Browse files

use HIBYTE_WORD16 for keymap

Showing with 2 additions and 2 deletions
+2 -2
......@@ -188,7 +188,7 @@ void handle_scancode_on_keydown (int scancode, key_info* kinfo)
key_map = __mg_key_maps [shift_final];
if (key_map != NULL) {
keysym = key_map [scancode];
type = HIBYTE (keysym);
type = HIBYTE_WORD16 (keysym);
if (type >= 0xf0) {
type -= 0xf0;
......@@ -222,7 +222,7 @@ void handle_scancode_on_keyup (int scancode, key_info* kinfo)
key_map = __mg_key_maps [shift_final];
if (key_map != NULL) {
keysym = key_map [scancode];
type = HIBYTE (keysym);
type = HIBYTE_WORD16 (keysym);
if (type >= 0xf0) {
type -= 0xf0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment