mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-04-03 00:57:12 +02:00
keysc: set the key_event_t.mod bit as getkey() did before
This commit is contained in:
parent
99403a9504
commit
21e91b30d5
1 changed files with 3 additions and 0 deletions
|
@ -287,6 +287,9 @@ key_event_t keydev_read(keydev_t *d)
|
|||
|
||||
int k = e.key;
|
||||
|
||||
if(opt(INSTANT_SHIFT) || opt(INSTANT_ALPHA)) e.mod = 1;
|
||||
if(opt(DELAYED_SHIFT) || opt(DELAYED_ALPHA)) e.mod = 1;
|
||||
|
||||
// <Instant SHIFT> and <Instant ALPHA>
|
||||
|
||||
if(e.type == KEYEV_DOWN || e.type == KEYEV_HOLD)
|
||||
|
|
Loading…
Add table
Reference in a new issue