Commit Graph
206 Commits
Author SHA1 Message Date
Steve Checkoway 4199cbc9c0 Create JoystickDevices for HID game pads (untested). 2006-02-10 08:50:24 +00:00
Steve Checkoway bb9848adcc Revert. 2006-02-10 04:49:45 +00:00
Chris Danford 02786346b8 use gamepads 2006-02-09 01:53:24 +00:00
Chris Danford a1fcc64baf poll DInput for number of joysticks instead of polling registry for num HID devices. Fixes us resetting INPUTMAN too early (after Windows sees the HID device but before DirectInput exposes it) 2006-02-09 00:53:20 +00:00
Steve Checkoway 3a669a84e6 Hot pluggable input devices on OS X. 2006-01-28 07:01:10 +00:00
Steve Checkoway 28f218abbc Year. 2006-01-27 10:33:47 +00:00
Glenn Maynard dca00042c2 fix segfault when unbound keys are pressed 2006-01-27 08:15:46 +00:00
Steve Checkoway dae517d250 Make sure that the run loop runs until the input handler terminates by adding a run loop source. 2006-01-27 07:33:11 +00:00
Glenn Maynard 322f713e89 cleanup 2006-01-27 00:59:42 +00:00
Glenn Maynard 89a1e0c79e cleanup 2006-01-27 00:58:20 +00:00
Chris Danford 7bec4f7a3e show "space" instead of "Key " 2006-01-26 02:41:35 +00:00
Renaud Lepage aab7d3a74e Update. 2006-01-23 23:11:26 +00:00
Steve Checkoway bab07ebf58 Factor out HIDDevice. 2006-01-23 03:48:03 +00:00
Steve Checkoway 92f64dc940 Device -> HIDDevice. 2006-01-23 01:37:11 +00:00
Steve Checkoway 5ea801b506 Style. 2006-01-23 01:30:38 +00:00
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