Commit Graph
97 Commits
Author SHA1 Message Date
Ben Anderson 800bbfbb70 Always process all KeyPress events before all KeyRelease events. KeyPress are more timing-sensitive, and this makes race conditions causing sticky keys a little less likely. 2005-03-17 04:40:14 +00:00
Sean Burke 37c6621bd7 A far more elegant solution, and one that allows the problem to be solved after a crash by restarting and exiting 2005-03-16 05:23:20 +00:00
Sean Burke b4132c8919 Fix repeating keyboard events 2005-03-16 03:31:20 +00:00
Ben Anderson 38ee973125 You know, I should pay attention to what cvs update is doing to the file... 2005-03-16 02:25:07 +00:00
Ben Anderson 18296126df Do things a little closer to the way SDL does them (but not much), magical hack that fixes performance issues for X11 on some (all?) systems, use variables instead of functions for Dpy and Win in X11Helper, a couple formatting tweaks. 2005-03-16 02:23:07 +00:00
Sean Burke 6abf475686 No, it wasn't misplaced, my logic was just flawed and my counting was off 2005-03-15 22:51:47 +00:00
Sean Burke 7ded8cf56e A few minor commits that are probably temporary; also a fix for a shifted KEY_ESC entry in the table that was causing the escape key not to work 2005-03-15 22:36:00 +00:00
Sean Burke 8de9688b29 A much more elegant solution for input handling in X11; can still probably do with some improvement 2005-03-15 01:32:24 +00:00
Ben Anderson e0e23c7b99 Blah... dumb little screwups revolving around X11 and SDL. 2005-03-15 00:41:05 +00:00
Ben Anderson 3b65e3f438 Remove useless Linux_tty input driver from the build as per Sean's suggestion; he's right, there's no point in having it if it requires SDL. 2005-03-15 00:36:01 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +00:00
Sean Burke 185855ca87 InputHandler_X11 should now properly register input 2005-03-14 10:14:04 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Ben Anderson 9486490cbb Fix numerous syntax and semantic errors 2005-03-13 20:32:13 +00:00
Ben Anderson 16b6515e1c nl 2005-03-13 20:25:57 +00:00
Ben Anderson e14f4c7d9b Completely redid the formatting. Should be much more readable now. 2005-03-13 19:51:25 +00:00
Ben Anderson 405d11e096 Forgot way too many things to list... 2005-03-13 19:25:27 +00:00
Ben Anderson 43752d219a Sean's InputHandler_X11, modified to use X11Helper and not abuse the keyboard grab. Needs formatting to be fixed -- blame dodgeit (long story) 2005-03-13 19:22:01 +00:00
Glenn Maynard 7ccda6012d use GraphicsWindow::GetHwnd 2005-02-07 09:16:00 +00:00
Ryan Dortmans e4c386a6c8 Fixed y axis inversion 2004-10-22 06:15:14 +00:00
Chris Danford 722941a646 add monkey scripting input driver for longevity testing 2004-10-16 15:04:10 +00:00
Ryan Dortmans 232cf294ea Clean up 2004-09-28 06:08:33 +00:00
Ryan Dortmans 8696eafc0e Xbox handler now functions correctly. 2004-09-28 05:06:47 +00:00
Ryan Dortmans 6bc4b6ab43 Input handler for Xbox controllers 2004-09-27 08:08:55 +00:00
Chris Danford 6fd5183134 more "for" scope fixes 2004-09-25 05:10:10 +00:00
Charles Lohr 2324859389 Fix: Include RageUtil.h. It is necessiary for ARRAYSIZE. 2004-09-10 02:12:40 +00:00
Glenn Maynard b0c6686574 cleanup 2004-09-09 22:13:10 +00:00
Glenn Maynard b6aace4a89 handle analog sticks; remove xbox resizing stuff that doesn't belong in input drivers 2004-09-09 22:12:10 +00:00
Ryan Dortmans f7fe3d007f Xbox: screen can only be resized when in the screen center screen. 2004-09-09 16:15:41 +00:00
Glenn Maynard 691deabe66 cleanup 2004-09-06 04:50:10 +00:00
Glenn Maynard eb2855f27a fix DIK_APOSTROPHE map 2004-09-06 04:48:33 +00:00
Glenn Maynard f80433b047 cleanup 2004-08-28 09:41:43 +00:00
Steve Checkoway 4814159fcf fix left/right switched. 2004-06-19 05:12:12 +00:00
Glenn Maynard fbfe94e68e debugging 2004-06-16 23:27:24 +00:00
Steve Checkoway 63a046d369 Fix warning. 2004-06-16 23:02:11 +00:00
Glenn Maynard 8b5099690d comment 2004-06-16 21:11:56 +00:00
Glenn Maynard 125141f996 really, don't need SDL for hats 2004-06-16 21:10:30 +00:00
Glenn Maynard 7fdcaa15d8 simplify 2004-06-16 20:48:53 +00:00
Glenn Maynard f1bcd1cbdc update 2004-06-16 20:34:26 +00:00
Glenn Maynard d89d883e9f KEY_KP_EQUAL 2004-06-16 20:33:10 +00:00
Glenn Maynard 98ecd82db5 phasing out SDL_keysym.h 2004-06-16 20:26:45 +00:00
Glenn Maynard 2dd552a54a make sure pri boosting is enabled for di/pump threads 2004-06-07 02:40:09 +00:00
Glenn Maynard 1d9e4c4658 SDL_Delay -> usleep 2004-05-21 03:31:26 +00:00
Glenn Maynard 564eea2ade license update 2004-05-15 22:07:41 +00:00
Glenn Maynard a702601034 updates (we still don't use this yet) 2004-04-05 22:16:26 +00:00
Glenn Maynard 3cb62064fe don't queue input while dialog boxes have focus 2004-01-13 02:22:18 +00:00
Glenn Maynard 6f1cac33c1 cleanup. 2004-01-03 07:18:43 +00:00
Chris Danford 945441d0f8 add Para input handler (not quite working yet) 2003-12-17 09:33:39 +00:00
Chris Danford d44851a9de change duplicate variable name 2003-12-17 09:32:56 +00:00
Chris Danford 47def7d3dc xbox updates 2003-11-13 00:39:36 +00:00