Commit Graph
44 Commits
Author SHA1 Message Date
Glenn Maynard 4b937130c9 remove Down 2006-12-26 23:11:10 +00:00
Glenn Maynard 01d9e04916 no down param 2006-12-26 22:42:04 +00:00
Glenn Maynard ef9bf1835e merge/simplify 2006-12-18 22:06:23 +00:00
Glenn Maynard d7da6c5a26 revert unintended 2006-12-18 21:36:05 +00:00
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 fc6033d754 cleanup 2006-12-17 07:16:06 +00:00
Glenn Maynard a8dc57f38e merge duplicate boilerplate code 2006-12-17 07:15: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
Glenn Maynard dfd95fd730 InputDevice_Invalid 2006-09-26 21:19:17 +00:00
Steve Checkoway 87d3d0e043 Cleanup. 2006-09-15 19:03:21 +00:00
Steve Checkoway 89c3ef56d4 Remove Xbox hack. (Unless there's a DEL defined as well.) 2006-09-15 18:21:41 +00:00
Chris Danford 790ccdbcbe fix joystick number not shown on input mapping screen 2006-08-08 08:46:40 +00:00
Chris Danford 0b5baba88c fix compile 2006-06-16 06:27:53 +00:00
Glenn Maynard aa9eea16e0 more nudging: merge DeviceButtonToString calls 2006-06-15 06:38:24 +00:00
Glenn Maynard cc2fb2b137 equivalent but more consistent 2006-06-15 06:35:36 +00:00
Glenn Maynard 1157c5eae9 more obvious behavior, and change "Joy1_B1" to "Joy1 B1" for
consistency
2006-06-15 06:34:07 +00:00
Glenn Maynard 0b1eedce2c simplify 2006-06-15 06:30:35 +00:00
Glenn Maynard c9e55137a5 nudging GetDeviceSpecificInputString and GetLocalizedInputString
together
2006-06-15 06:23:58 +00:00
Glenn Maynard 0980208a1f DeviceButtonToString is already sanely capitalized 2006-06-15 06:21:32 +00:00
Glenn Maynard 35864b415c don't capitalize Space 2006-06-15 06:20:37 +00:00
Glenn Maynard 81ddf2d8e0 show "Space" if the character value is ' ', regardless of the KEY_ value 2006-06-15 06:17:46 +00:00
Glenn Maynard 1d4601eca7 localize "space" 2006-06-15 06:16:11 +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
Glenn Maynard 181c9d51f9 trying to unwrap this input stuff:
DeviceInputToTranslatedString will try DeviceButtonToChar; but we just
tried that; it then uses DeviceButtonToString.  use DeviceButtonToString
directly
2006-06-15 04:07:48 +00:00
Glenn Maynard defdede155 DeviceButtonToLocalizedAndTranslatedString -> DeviceInputToTranslatedString 2006-06-15 03:39:45 +00:00
Chris Danford e2eb5135e5 add international keyboard support 2006-06-11 07:12:01 +00:00
Chris Danford b79cb92052 remove use of towupper for OS X 2006-06-11 01:28:52 +00:00
Steve Checkoway fa56d41c17 Use wchar_t. This doesn't actually compile on the mac using the 10.2.8 sdk because wctype.h is missing so no towupper function exists. 2006-06-10 22:36:25 +00:00
Chris Danford 8cdce5cfda fix NumPad keys 2006-06-10 21:19:35 +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
Glenn Maynard f93db25802 Systems with many unbuffered joystick devices may send 50 presses
per frame.  Use a large value, so we only trigger as a diagnostic for
broken RageInputDrivers.
2006-03-26 01:42:37 +00:00
Chris Danford 7bec4f7a3e show "space" instead of "Key " 2006-01-26 02:41:35 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard f9140c92ab update use of old function 2005-12-28 09:23:14 +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 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 564eea2ade license update 2004-05-15 22:07:41 +00:00
Glenn Maynard da3be19536 use RageTimer::Half 2003-07-20 19:13:35 +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