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
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
c294e8eb74
merge input symbols
2005-12-28 08:55:13 +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
Glenn Maynard
7faaa73afd
remove unused fDeltaTime parameter
2005-12-18 22:51:12 +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
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
Glenn Maynard
7ccda6012d
use GraphicsWindow::GetHwnd
2005-02-07 09:16:00 +00:00
Chris Danford
6fd5183134
more "for" scope fixes
2004-09-25 05:10: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
Glenn Maynard
691deabe66
cleanup
2004-09-06 04:50:10 +00:00
Glenn Maynard
125141f996
really, don't need SDL for hats
2004-06-16 21:10:30 +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
3cb62064fe
don't queue input while dialog boxes have focus
2004-01-13 02:22:18 +00:00
Glenn Maynard
075c34e8cc
Fix assertion failure when joysticks with more than one hat are attached
2003-10-08 20:40:41 +00:00
Thad Ward
c7de8342f5
remove some tls.h includes that were apparently missed.
2003-10-01 09:15:51 +00:00
Glenn Maynard
32e81d2bbc
Use CHECKPOINT and RageThreads.
2003-08-05 01:32:51 +00:00
Glenn Maynard
25026f2877
Always handle unbuffered devices in the main thread.
2003-07-28 17:42:57 +00:00
Glenn Maynard
3a04d3f223
Never handle polled devices in a thread in Win9x. It doesn't have the
...
scheduling granularity to handle it.
2003-07-20 19:16:49 +00:00
Glenn Maynard
ad40d49720
Unacquire before calling SetEventNotification.
2003-07-15 20:41:45 +00:00
Glenn Maynard
718f3e4e6b
fix crash
2003-07-15 09:11:09 +00:00
Glenn Maynard
e28ad70a27
Shut down the input thread when resetting the window.
2003-07-15 03:35:47 +00:00
Glenn Maynard
8f07ab28b2
thread debug info
2003-07-15 01:23:11 +00:00
Glenn Maynard
c65136cb37
quiet unneeded output
2003-07-14 22:28:03 +00:00
Glenn Maynard
a675dc82dd
cosmetic
2003-07-14 19:12:37 +00:00
Glenn Maynard
4b79170bad
Add some temporary timing information
2003-07-14 19:10:28 +00:00
Glenn Maynard
9385e437f2
threaded DI input
2003-07-14 06:27:20 +00:00
Glenn Maynard
325f853d60
cleanup
2003-07-13 04:35:01 +00:00
Glenn Maynard
2384d1bb0a
Don't enum all devices (fixes Pump crashes)
2003-07-13 04:33:54 +00:00
Glenn Maynard
82aabe7c3a
call InputHandler::Update, InputHandler::ButtonPressed
2003-07-13 01:03:44 +00:00
Glenn Maynard
1ee68667e6
fix keys sticking
2003-06-21 21:01:07 +00:00
Glenn Maynard
fbd70eb5ea
implement sliders and (partially) fix hats
2003-06-18 17:50:01 +00:00
Glenn Maynard
81fbead16b
split this up
...
Fix losing keyboard input when changing graphics settings (this happened
with the old code, too).
2003-06-18 05:43:12 +00:00
Glenn Maynard
e96cb79c5f
support more axes
2003-06-17 06:05:10 +00:00
Glenn Maynard
88995a73c6
implement native DirectInput code
2003-06-17 05:01:49 +00:00