Glenn Maynard
17c32b90c2
Make* -> Driver::Create. Having these floating in arch.h isn't
...
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
2006-12-17 07:41:21 +00:00
Glenn Maynard
a8dc57f38e
merge duplicate boilerplate code
2006-12-17 07:15:25 +00:00
Glenn Maynard
d4f43cf844
reduce boilerplate code
2006-12-17 07:00:30 +00:00
Steve Checkoway
1e505ff81e
copy/paste error.
2006-11-18 20:27:15 +00:00
Steve Checkoway
ce35f77653
simplify
2006-11-18 19:59:25 +00:00
Steve Checkoway
6365e3607f
Move stuff out of arch using a registration system modeled after Screen.
2006-11-18 19:34:28 +00:00
Steve Checkoway
89c3ef56d4
Remove Xbox hack. (Unless there's a DEL defined as well.)
2006-09-15 18:21:41 +00:00
Renaud Lepage
597cadd347
"Ugly" Xbox fix. It's that, or renaming all the DELETE define of the InputHandler and its users.
2006-09-15 03:09:17 +00:00
Glenn Maynard
3c9897989c
GetDeviceSpecificInputString and DeviceInputToLocalizedString are
...
the same: "a string suitable for display", but just formatted slightly
differently. Handle these the same way (so hopefully a way to merge
them will become visible).
This also fixes the RageInputDevice dependency on RageInput.
2006-06-15 06:07:45 +00:00
Chris Danford
8c4cedf63f
let OS handle key modifers (fixes number buttons w/ French keyboard)
2006-06-10 20:33:56 +00:00
Chris Danford
dce168b0c2
international keyboard support
2006-06-10 06:50:50 +00:00
Chris Danford
bf0cc13a47
Change GetDevicesAndDescriptions to fill in one vector instead of 2
...
Ignore changes in non-joystick devices when automapping
2006-02-27 17:51:27 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
7faaa73afd
remove unused fDeltaTime parameter
2005-12-18 22:51:12 +00:00
Chris Danford
c95a5dc8e5
add InputDevice::DevicesChanged
2005-12-18 03:08:12 +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
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
Glenn Maynard
9d11f81407
cleanup
2005-05-25 22:15:11 +00:00
Glenn Maynard
8979ac38e6
warn if InputHandler::UpdateTimer is not being called
2005-05-17 20:54:58 +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
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
Glenn Maynard
8b5099690d
comment
2004-06-16 21:11:56 +00:00
Glenn Maynard
564eea2ade
license update
2004-05-15 22:07:41 +00:00
Glenn Maynard
4c707df399
Update -> UpdateTimer
2003-07-14 06:25:14 +00:00
Glenn Maynard
c4417a0678
Add InputHandler::ButtonPressed.
2003-07-13 01:00:55 +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
Chris Danford
4d182f85a4
add automatic mapping of joysticks
2003-05-28 02:35:05 +00:00
Glenn Maynard
7d919be169
update comment
2003-04-12 02:14:00 +00:00
Glenn Maynard
bc833631e2
add InputHandler abstraction
2003-02-16 02:25:22 +00:00
Glenn Maynard
70524dcb6a
add input device abstraction
2003-02-16 01:16:25 +00:00