Commit Graph
169 Commits
Author SHA1 Message Date
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
Glenn Maynard 539ec6aa5c HAVE_WIN32 -> WINDOWS. HAVE_LINUXKERNEL -> LINUX. If some features originating in Linux work on other systems, then define them specifically (eg. HAVE_LINUX_JOYSTICKS). 2005-10-24 07:22:28 +00:00
Glenn Maynard 45ec442600 I'm not entirely sure why someone thought it was appropriate to call someone else's code "Useless!" in the source code. (The comment was also entirely wrong: the driver was used for prototyping on a system that used SDL for video but received input from a TTY, which SDL didn't support.) 2005-10-24 07:17:24 +00:00
Steve Checkoway 268b4007f8 Finish InputHandler_Carbon and use it. 2005-10-19 21:12:18 +00:00
Steve Checkoway 298925586e oops. 2005-10-19 20:25:12 +00:00
Steve Checkoway 9d6b0890a5 Work on keyboard handler. Nearly there. 2005-10-19 11:23:21 +00:00
Steve Checkoway 85e0e3a1ec Prepare code for adding a KeyboardDevice by putting common code into a Device abstract class. 2005-10-18 09:00:53 +00:00
Steve Checkoway fd65b7e34e Cleanup, the carbon events aren't being dispatched so this will be done in the same way as the joysticks. 2005-10-18 07:48:02 +00:00
Steve Checkoway d070a41916 Cruft. 2005-10-17 11:53:20 +00:00
Steve Checkoway 19631fe280 Add Input thread. Remove DictValue since I managed to break it converting from a macro to a static inline function. That took about an hour to track down. 2005-10-17 11:04:31 +00:00
Steve Checkoway 944b1dd231 Cleanup. 2005-10-17 07:04:26 +00:00
Steve Checkoway 849980cf74 Uglify. Ignore 80 column rule without going too far past.
Use inline functions instead of the two macros. No other nonspacing changes.
2005-10-16 23:09:00 +00:00
Steve Checkoway a0c117cd52 Initial input manager. The HID code works (so joysticks work) but the Carbon event handler is not being called. I might need to completely remove SDL first, or I might need to use some other API.
I'd rather not do this with HID, for fairly obvious reasons.
2005-10-15 07:30:16 +00:00
Glenn Maynard 491e97d0ac cleanup 2005-10-13 02:26:17 +00:00
Ben Anderson f83eb0a2ca Send key off when disabled only once. (fixes space bar not responding) 2005-10-13 01:34:06 +00:00
Ben Anderson 622293b6eb JOY_1 -> JOY_BUTTON_1 2005-09-21 21:09:27 +00:00
Renaud Lepage 83a362f22c Should've commit this one a while ago. 2005-09-19 21:20:05 +00:00
Chris Danford 6c2233fd03 JOY_1 -> JOY_BUTTON_1. I've confused DEVICE_JOY1 with JOY_1 many times. 2005-09-12 08:48:16 +00:00
Renaud Lepage eb0704bf41 Big defines patch : replace HAVE_XBOX with HAVE_XDK. In some cases where HAVE_DIRECTX was ambiguous, clarification was added. Another bug surfaced here : Who said FFMPEG was needed on xbox? In any case, investigation of ffmpeg-xbox will commence as soon as we can get SMX to boot again :) 2005-08-23 22:51:21 +00:00
Chris Danford 5351df6586 query for InputDeviceState 2005-08-20 22:49:25 +00:00
Chris Danford 456b12a555 allow InputDeviceHandlers to provide a device-specific input string for displaying 2005-08-17 07:45:54 +00:00
Chris Danford e39ae5443f correct for button 0 being reported as 32 2005-06-08 08:12:30 +00:00
Chris Danford 3eb577bff9 add mapping for delete key 2005-06-03 22:52:23 +00:00