Commit Graph
191 Commits
Author SHA1 Message Date
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Steve Checkoway 9ed7548de1 Use new api. 2006-01-21 11:14:13 +00:00
Steve Checkoway d5cde8a0f7 Cleanup. 2006-01-18 09:44:30 +00:00
Chris Danford a6d2ad5957 cleanup joystick with keyboard hack 2006-01-17 09:03:33 +00:00
Steve Checkoway b362a5969f Simplify. 2006-01-14 01:04:48 +00:00
Chris Danford 7fe210a516 silence warning spew if no hid devices plugged in 2006-01-09 01:10:37 +00:00
Glenn Maynard f06fd4b416 No input driver should ever send a button pressed event without later
sending a corresponding release event.  This results in "stuck
keys" in InputFilter's image of the devices.  We've worked around
this by forcibly releasing all keys when focus is lost, but it's
still a bug in the input driver.  Fix this, by releasing devices
when we discard events.
2005-12-30 02:30:23 +00:00
Steve Checkoway 0e366eef75 Fix compile and warnings. 2005-12-29 11:36:20 +00:00
Glenn Maynard 6177fe5884 fixup 2005-12-29 00:42:03 +00:00
Glenn Maynard 983a34dde4 style 2005-12-28 23:34:10 +00:00
Glenn Maynard b73fe69ff2 style 2005-12-28 23:33:11 +00:00
Glenn Maynard 88fb796c6b cleanup 2005-12-28 21:08:10 +00:00
Glenn Maynard 445df4ea85 Don't poll and acquire the same device in both the input thread and Update. 2005-12-28 19:02:50 +00:00
Glenn Maynard 906179d035 cleanup 2005-12-28 19:00:40 +00:00
Glenn Maynard 596d672d7f remove unused 2005-12-28 18:59:25 +00:00
Glenn Maynard f9140c92ab update use of old function 2005-12-28 09:23:14 +00:00
Glenn Maynard 028cae7117 cosmetic 2005-12-28 09:15:33 +00:00
Glenn Maynard 8f6dcdbecc blind updates (probably incomplete, since this driver differs more widely
from my code)
2005-12-28 09:14:15 +00:00
Glenn Maynard 13087c9585 blind updates 2005-12-28 09:09:55 +00:00
Glenn Maynard 6571f6b475 merge input symbols 2005-12-28 09:04:51 +00:00
Glenn Maynard c294e8eb74 merge input symbols 2005-12-28 08:55:13 +00:00
Glenn Maynard d9862d3ac8 static, typo 2005-12-28 08:21:39 +00:00
Glenn Maynard bc372e308b cosmetic changes only 2005-12-28 03:30:37 +00:00
Steve Checkoway 2301565b2a Fix threaded input not actually running in the created thread. Allow nonthreaded input (by using the gui--i.e. main event loop--thread) according to PREFSMAN->m_bThreadedInput. 2005-12-27 05:55:06 +00:00
Glenn Maynard 792f8a4008 unused header
this stuff shouldn't be an input handler anymore ...
2005-12-24 02:38:31 +00:00
Glenn Maynard 8c78478d61 unneeded header
clarify coop mode
2005-12-21 00:29:35 +00:00
Glenn Maynard 8822ce2e86 cleanup, static 2005-12-20 20:30:45 +00:00
Glenn Maynard d2163d0c2f style 2005-12-20 20:29:47 +00:00
Glenn Maynard ff42312b44 use RegistryAccess::GetRegValue 2005-12-20 20:26:11 +00:00
Glenn Maynard 355d773916 fix warning 2005-12-20 20:17:56 +00:00
Chris Danford d29b85efe5 fix bogus assert firing when no hid devices attached 2005-12-19 12:04:58 +00:00
Steve Checkoway a8d0b5c9f9 Cleanup. 2005-12-19 01:32:36 +00:00
Glenn Maynard 9e784d8e55 cleanup spacing 2005-12-18 22:57:23 +00:00
Glenn Maynard 7faaa73afd remove unused fDeltaTime parameter 2005-12-18 22:51:12 +00:00
Glenn Maynard 67f9c89c96 unused 2005-12-18 22:45:52 +00:00
Chris Danford efe3984ad5 detect changing USB joysticks and remap on the fly 2005-12-18 07:13:13 +00:00
Chris Danford c95a5dc8e5 add InputDevice::DevicesChanged 2005-12-18 03:08:12 +00:00
Steve Checkoway bdf4898ecb Use consistent thread names. 2005-12-15 07:18:52 +00:00
Glenn Maynard 473b080ef9 just "backspace", not "key backspace" 2005-12-09 02:07:34 +00:00
Glenn Maynard b683be9023 better default InputHandler::GetDeviceSpecificInputString 2005-12-09 02:04:55 +00:00
Glenn Maynard cfe76dd96e cleanup 2005-12-09 01:48:20 +00:00
Chris Danford 17cf7eaa7c Make InputHander_Win32_Para initialize the device so that the joystick feature of the same device will function. 2005-12-08 05:33:31 +00:00
Glenn Maynard ecd8d199bd missed commit: update for USB cleanup 2005-11-23 22:43:17 +00:00
Glenn Maynard a8247bd45b threaded linux driver 2005-11-06 12:18:37 +00:00
Steve Checkoway 7280c1ccb3 Simplify. 2005-10-24 13:39:10 +00:00
Steve Checkoway fcff93222e Get the product description. 2005-10-24 12:46:25 +00:00
Steve Checkoway 8310140755 Set new arbitrary values with the input handler above the sound decoder. 2005-10-24 11:40:43 +00:00
Steve Checkoway 10688caf8e Use SetThreadPrecedence(). 2005-10-24 11:21:46 +00:00
Steve Checkoway aa0f90feae __MACOSX__ --> MACOSX, keep __MACOSX__ for ogg. 2005-10-24 10:37:56 +00:00
Steve Checkoway cb229a8774 Remove redundant defines. 2005-10-24 08:17:12 +00:00