mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Minor changes in jmessage to debug JM_KEYPRESSED/RELEASED messages.
This commit is contained in:
parent
e55b757aad
commit
177f089e9a
@ -58,8 +58,10 @@ JMessage jmessage_new_key_related(int type, int readkey_value)
|
||||
msg->key.propagate_to_parent = true;
|
||||
|
||||
#if 0
|
||||
printf("%i: %i %i [%c]\n", type, msg->key.scancode,
|
||||
msg->key.ascii, msg->key.ascii);
|
||||
printf("%s: %i %i [%c]\n", type == JM_KEYPRESSED ? "JM_KEYPRESSED":
|
||||
"JM_KEYRELEASED",
|
||||
msg->key.scancode, msg->key.ascii, msg->key.ascii);
|
||||
fflush(stdout);
|
||||
#endif
|
||||
return msg;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user