25 Commits

Author SHA1 Message Date
Paul Gilbert
ae0609ae51 AGS: in the new key input mode, only update key state once a frame
From upstream 8c456d2e4b3c9e24f883522b59b4c73d422e4c28

Not sure if this will actually do so, since there may be other places
in the ScummVM event handler where event polling may be done.
2022-04-27 19:31:40 -07:00
Paul Gilbert
cc9bda9251 AGS: Added NumLock and CapsLock key mods
From upstream c845ac3450159fd54fec91e19dc857860fc8ac38
2022-04-21 21:35:00 -07:00
Paul Gilbert
e0282d5064 AGS: Implemented key handling switch (old/new mode)
From upstream b9e23731d0d792d095c1d4e83fa1797a1afeee46
2022-04-21 20:55:38 -07:00
Paul Gilbert
e736059bbe AGS: pass key modifiers as an extra arg to on_key_press
From upstream b00b82220cbabf44185e042ef33b543fe2ad3543
2022-04-21 20:23:53 -07:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert
31bf101af1 AGS: Fix quitting via abort key 2021-08-21 10:49:13 -07:00
Paul Gilbert
46eeb0aa2a AGS: Fix crash quitting app when speech dialog is active 2021-07-10 20:23:52 -07:00
Paul Gilbert
73cd6b9215 AGS: Structure for passing events UTF8 text around along with the keycode
From upstream 9d65a68c61d0503e05e2cbe80447af0d619161e4

Note that ScummVM doesn't have a TEXT_INPUT event, so this change and following
ones will be mostly to keep in sync with the standalone codebase even if they're
not directly used
2021-07-10 14:33:36 -07:00
Paul Gilbert
98a9234253 AGS: Hooked in keyboard handling 2021-06-13 21:08:54 -07:00
Paul Gilbert
06c5e089fd AGS: Hook up event handling 2021-06-13 21:08:51 -07:00
Paul Gilbert
701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Paul Gilbert
bb16f3ec42 AGS: Implement AGSController mouseClick method 2021-04-18 12:48:38 -07:00
Paul Gilbert
9dd5f7fea8 AGS: Implementing AGSController plugin 2021-04-17 21:25:06 -07:00
Paul Gilbert
05ea21c94d AGS: Keypress fixes for non-alphanumeric characters 2021-04-12 21:04:04 -07:00
Paul Gilbert
b2b8b17133 AGS: Fix handling of extended keypresses 2021-04-11 19:55:21 -07:00
Paul Gilbert
e1a5c1778b AGS: Cleanup of key state handling 2021-04-11 13:15:47 -07:00
Paul Gilbert
ddfb81d715 AGS: Enable return to launcher 2021-03-13 21:34:56 -08:00
Paul Gilbert
bb488f2d58 AGS: Move dynamicsprite.cpp globals to Globals 2021-03-08 21:12:00 -08:00
Paul Gilbert
1a8ae27b58 AGS: Move game & spriteset into Globals 2021-02-26 21:28:53 -08:00
Paul Gilbert
ef8a01baee AGS: Fix compiler warnings 2021-02-06 16:37:31 -08:00
Paul Gilbert
cf9bbb2bb2 AGS: Beginnings of new Globals class 2021-02-06 16:37:31 -08:00
Paul Gilbert
6da17f421b AGS: Matching keycodes to Allegro in original 2021-02-06 16:37:31 -08:00
Paul Gilbert
b71eb2de1f AGS: Fixing keys - upper/lowercase, function keys, etc 2021-02-06 16:37:31 -08:00
Paul Gilbert
b61dd2c633 AGS: Hook up ScummVM window close to exit game 2021-02-06 16:37:31 -08:00
Paul Gilbert
7089339362 AGS: Implemented keyboard/mouse event handlers 2021-02-06 16:37:31 -08:00