Commit Graph
30 Commits
Author SHA1 Message Date
Glenn Maynard 94780b3fad support MultiPlayer inputs 2006-07-01 02:16:38 +00:00
Chris Danford c1848ab4a5 unmap joystick before applying its automappings 2006-02-09 00:04:01 +00:00
Chris Danford e507e4ab9e only save mappings for user-changable mapping slots (less cluttered keymaps.ini) 2006-01-26 06:05:35 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard 70d67b6e5e fix slightly excessive memory usage 2005-12-28 20:50:12 +00:00
Glenn Maynard 29422da7d3 MAX_DEVICE_BUTTONS -> NUM_DeviceButton 2005-12-28 19:15:48 +00:00
Glenn Maynard 7039cafa9a Merge input symbols: any device can have any input key.
- This reduces the number of types associated with input; adding a
   distinct input type doesn't introduce a whole new enumerated type
   and related functions.
 - Special handling for different devices is needed less often.  If you
   want to respond to an F1 press, simply check for KEY_F1; the device
   type doesn't really matter (though it'll usually be a keyboard).
 - This allows cleaner support for generalized USB devices.  While they're
   usually of the traditional classes (keyboard, joystick) with associated
   inputs, they don't have to be.
 - Forced casts between parallel types can be removed, and weakly-specified
   variables (ints instead of the enum type) can be fixed.

Some things that might have been merged havn't; for example, arrow keys
on a keyboard (KEY_UP) are still distinct from axes on a joystick (JOY_UP).
These may or may not be merged in the future.

Some were: removed PUMP_ symbols.  Treat them as generic buttons, and just
give them names with GetDeviceSpecificInputString.  It's not worth
introducing more special names for something only used in one place.
2005-12-28 08:52:20 +00:00
Glenn Maynard 3fbde68e4a better encapsulation, reduce GameLoop.cpp depending on StepMania.cpp: move
CheckForChangedInputDevicesAndRemap into InputMapper
2005-12-18 23:45:46 +00:00
Chris Danford ec51af900e CString -> RString for files used by smpackage 2005-12-10 08:15:44 +00:00
Glenn Maynard a3efa94b2a return true if something changed 2005-12-09 03:05:17 +00:00
Chris Danford ae7300b3be const cleanup 2005-10-15 16:47:44 +00:00
Chris Danford aaa7a2d18a cleanup MultiPlayer/InputDevice mapping 2005-08-30 16:22:48 +00:00
Glenn Maynard 07f941f734 allow more than 3 mappings per GameInput (but don't show them in
ScreenMapControllers)
2005-02-20 04:53:57 +00:00
Glenn Maynard cdcb0f1c8f make InputMapper::ApplyMapping public 2004-08-13 00:27:52 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +00:00
Glenn Maynard 9b2f146605 SetRepeatRate, ResetRepeatRate, ResetKeyRepeat 2003-11-25 21:46:30 +00:00
Chris Danford 8c3db31ba7 optimize InputFilter::Update 2003-10-07 05:59:58 +00:00
Chris Danford 4d182f85a4 add automatic mapping of joysticks 2003-05-28 02:35:05 +00:00
Glenn Maynard d52537825b use RageInputDevice (though RageInput is so simple now this
isn't as useful)
2003-02-16 20:16:07 +00:00
Glenn Maynard 24cc7a3c04 Get rid of all other #pragma once's, except the one in StdAfx.h.
(three cheers for perl)
2002-11-16 08:07:38 +00:00
Chris Danford 15fc589cc6 Fixed articts in hold note and life frames. 2002-10-18 19:01:32 +00:00
Chris Danford 7c1bfb3a0d big checkin - new noteskin format and XY positioning. I probably broke a lot of things. 2002-08-13 23:26:46 +00:00
Chris Danford 4ec08edf2d Mini-rewrite of input mapping, theme support, and added KSF reader. 2002-07-31 19:40:40 +00:00
Chris Danford 936fabbe85 more fixes to Oni and courses 2002-07-27 19:29:51 +00:00
Chris Danford 317c352a9b Various bug fixes. See changelog. 2002-07-23 01:41:40 +00:00
Chris Danford 0bc6e1ec7e weekend checkin 2002-06-14 22:25:22 +00:00
Chris Danford 2f80235590 no message 2002-05-19 01:59:48 +00:00
Chris Danford 6f1c1e4619 no message 2002-05-01 19:14:55 +00:00
Chris Danford dad622f11c no message 2002-04-28 20:42:32 +00:00
Chris Danford 78f3e80118 2.50 checkin 2002-04-16 17:31:00 +00:00