mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-01 01:20:25 +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;
|
msg->key.propagate_to_parent = true;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
printf("%i: %i %i [%c]\n", type, msg->key.scancode,
|
printf("%s: %i %i [%c]\n", type == JM_KEYPRESSED ? "JM_KEYPRESSED":
|
||||||
msg->key.ascii, msg->key.ascii);
|
"JM_KEYRELEASED",
|
||||||
|
msg->key.scancode, msg->key.ascii, msg->key.ascii);
|
||||||
|
fflush(stdout);
|
||||||
#endif
|
#endif
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user