aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/event.cpp
AgeCommit message (Collapse)Author
2010-11-26SCI: Fixed keyboard input when numlock is on, and cleaned up the way some ↵Filippos Karapetis
special keys are translated svn-id: r54493
2010-11-22SCI: Added support for the keypad +/- keysFilippos Karapetis
svn-id: r54420
2010-11-21SCI: Proper fix for the QFG2 character import screen crashes (bug #3037996)Filippos Karapetis
Script 944 does constant reallocations whenever the selection changes, which leads to all sorts of unpredictable crashes. Thanks to waltervn for his help on this issue svn-id: r54413
2010-11-21SCI: Fix for bug #3037996 - "QFG2: Crash during import dialog after time ↵Filippos Karapetis
(import works)" svn-id: r54407
2010-11-17SCI: Remove key modifier (e.g. num lock) status for keyboard function keys. ↵Filippos Karapetis
This fixes function key input (e.g. F3) when num lock is on svn-id: r54294
2010-08-29SCI: Throttle the invocations of Engine::shouldQuit()Filippos Karapetis
SCI constantly invoked Engine::shouldQuit(), which in turn called 2 virtual functions. This added a significant overhead, as this was called constantly without any throttling whatsoever. Now, the invocation of shouldQuit() is throttled to be on each frame update (i.e. at a rate of 60fps). Thanks to wjp for profiling this. svn-id: r52431
2010-08-21SCI: Added support for the DEL keyFilippos Karapetis
svn-id: r52255
2010-08-21SCI: Fixed bug #3048911 - "Keyboard discrepancies in all SCI games" by ↵Filippos Karapetis
handling synthetic (keyboard repeat) events and adding support for Control-C svn-id: r52252
2010-07-29SCI: updating screen within kAnimate as well - fixes pseudo hang in eq1 ↵Martin Kiewitz
credits (bug #3036154) svn-id: r51459
2010-07-28SCI: adding support for middle mouse buttonMartin Kiewitz
svn-id: r51422
2010-06-19SCI: replacing the keyboard size check for direction type detection with ↵Martin Kiewitz
checking for script 933 (pseudoMouse) instead - this is better because its working multiplatform svn-id: r50047
2010-06-19SCI: added TODO for keyboard driver size check, maybe this whole stuff isn't ↵Martin Kiewitz
needed at all svn-id: r50046
2010-06-19SCI: implemented checking of keyboard driver in case of SCI1EGA/EARLY, also ↵Martin Kiewitz
renamed SCI_EVENT_JOYSTICK to SCI_EVENT_DIRECTION svn-id: r50045
2010-06-17SCI: cleanup scancode rows codeMax Horn
svn-id: r49964
2010-06-17SCI: Turn _modifierStates into member of class EventManagerMax Horn
svn-id: r49963
2010-06-17SCI: cleanupMax Horn
svn-id: r49961
2010-06-17SCI: Rename sciEvent to SciEventMax Horn
svn-id: r49960
2010-06-17SCI: Moved the event code a little bit around.Max Horn
* Move sleep() from EventManager to SciEngine * Rename EventManager methods: get -> getSciEvent, and getFromScummVM -> getScummVMEvent * Make scancode_rows static const * Turn altify & numlockify from EventManager methods into static functions (and comment out the currently unused numlockify) svn-id: r49959
2010-06-15Throttle screen updates to 60fps in some screen transition effects as wellFilippos Karapetis
svn-id: r49690
2010-06-14SCI: Limit the screen refresh rate to 60fpsFilippos Karapetis
svn-id: r49647
2010-06-09Renamed the SciEvent class to EventManager, to separate it from the sciEvent ↵Filippos Karapetis
structure, and removed it from the engine state svn-id: r49534
2010-06-03Re-enabled the cursor position limiting codeFilippos Karapetis
svn-id: r49413
2010-05-16SCI: fixing possible typo for Shift-F1/F10 keys, fixing submarine controls ↵Martin Kiewitz
in iceman svn-id: r49048
2010-04-24SCI: reverting r48787 port updates were actually introduced (heard that ↵Martin Kiewitz
before) in SCI1. I used the outdated wiki before and that one lists qfg2 and xmas90ega being SCI01. They are actually SCI1 svn-id: r48789
2010-04-24SCI: r48786 port updates were actually introduced during SCI01, qfg2 and ↵Martin Kiewitz
xmas90ega only. We enable port updates only for non-multilingual SCI01 games now - fixes percentage bar for qfg1 japanese as well svn-id: r48787
2010-04-19SCI: changed comment about 8859-1->cp850/437 conversion. ubuntu does work, i ↵Martin Kiewitz
just used an outdated build by accident svn-id: r48724
2010-04-19SCI: comment about platforms, where 8859-1 mapping is workingMartin Kiewitz
svn-id: r48708
2010-04-17SCI: key presses of extended chars (umlauts, etc.) will now get ignored in ↵Martin Kiewitz
games that don't support them (which is all non-multilingual games) svn-id: r48693
2010-04-17SCI: map keys from 8859-1 to dos codepage, makes special chars like umlauts ↵Martin Kiewitz
work in multilingual games svn-id: r48687
2010-02-23SCI: Turn kernel_sleep() into SciEvent::sleep()Max Horn
svn-id: r48119
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-13SCI: Add global g_sci pointer to the active SciEngine instanceMax Horn
svn-id: r48046
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-08SCI: Ctrl-Z now supported as well :DMartin Kiewitz
svn-id: r47188
2010-01-08SCI: removed controlify() to ease readability of codeMartin Kiewitz
svn-id: r47186
2010-01-08SCI: fix for platform difference between linux and windows, makes ↵Martin Kiewitz
Ctrl-Alt-keys work under linux as well (e.g. lsl1, age questions cheat) svn-id: r47185
2010-01-08SCI: we won't do keyboard mapping for sci1late+, because otherwise Ctrl-keys ↵Martin Kiewitz
won't work. I couldnt find games that use Alt-keys, so I was unable to check those as well svn-id: r47175
2010-01-05More renamingFilippos Karapetis
svn-id: r47009
2009-12-31Minor additions: added full keypad support to GUI and SCIYotam Barnoy
svn-id: r46808
2009-12-31SCI: keyboard change cleanup, fixed Ctrl and Alt related keys on foreign ↵Martin Kiewitz
keyboards as well svn-id: r46803
2009-12-31SCI: keyboard events now dont use scancode anymore, fixing compatibility ↵Martin Kiewitz
with foreign keyboard layouts (needs testing, cleanup will follow shortly after) svn-id: r46801
2009-12-04SCI: Removed Ctrl-X to Ctrl-Alt-X mapping cause Ctrl-Alt-X works now directlyMartin Kiewitz
svn-id: r46261
2009-12-04SCI: Typo fixed in SciEvent caused all Ctrl keys to get changed to Ctrl-Alt-X :)Martin Kiewitz
svn-id: r46257
2009-12-04SCI: Renamed "buckybits" to "modifiers" in SciEventMartin Kiewitz
svn-id: r46256
2009-12-04SCI: Make event constants more verboseMartin Kiewitz
svn-id: r46255
2009-12-04SCI: SciEvent created, kernel_sleep() createdMartin Kiewitz
svn-id: r46252