Glenn Maynard
e206261b80
ARRAYSIZE -> ARRAYLEN
2006-09-13 03:11:38 +00:00
Glenn Maynard
86857bd6e5
remove unused InputMapper::IsMapped(GameInput)
2006-09-13 02:27:36 +00:00
Glenn Maynard
b53c99f406
remove InputMapper::StyleToGame(StyleI). InputMapper no longer knows about StyleInputs, putting them at the level of abstraction they belong: above the game-neutral support classes like InputMapper.
2006-09-13 01:55:39 +00:00
Glenn Maynard
d6ad18f73e
remove InputMapper::IsBeingPressed(StyleI)
2006-09-13 01:45:10 +00:00
Glenn Maynard
9f54f1b248
remove InputMapper::GetSecsHeld(StyleI)
2006-09-13 01:38:10 +00:00
Glenn Maynard
7da7f3af18
remove unused
2006-09-13 01:33:04 +00:00
Glenn Maynard
6aec914bfc
simplify
2006-09-13 01:18:10 +00:00
Glenn Maynard
5be4331e71
phase out StyleI.player
2006-09-13 00:09:00 +00:00
Glenn Maynard
6e40d3e5ef
oops, fix
2006-09-13 00:05:43 +00:00
Glenn Maynard
10c6320d18
getting rid of StyleI.player
2006-09-13 00:05:01 +00:00
Glenn Maynard
87bb92451b
StyleI.player duplicates MenuI.player when the style is set. It's
...
essentially being used as a hack to see if the style is set, and
as a shortcut for converting from StyleInput back to GameInput,
complicating InputEventPlus in the process. Remove it, and just
pass along the PlayerNumber when it's actually needed.
(incremental commit)
2006-09-13 00:02:23 +00:00
Glenn Maynard
2fa74742c0
remove unused
2006-09-12 23:47:55 +00:00
Glenn Maynard
d93a57c841
add DeviceInputList *
2006-09-08 04:04:40 +00:00
Glenn Maynard
ec3b9382d2
InputMapper::IsButtonDown -> IsBeingPressed, to match InputFilter::IsBeingPressed
2006-09-08 02:12:30 +00:00
Steve Checkoway
74ad63769f
fromString -> FromString
...
toString -> ToString const
2006-09-02 20:24:39 +00:00
Steve Checkoway
a07e194cf1
Revert. Fixes Linux build.
2006-07-18 05:51:37 +00:00
Jason Felds
366c3440d4
Fix VC8 macro redef warning. (more to come)
2006-07-18 03:56:37 +00:00
Steve Checkoway
f66cb8c03c
Simplify. Vectors are a type of EqualityComparable.
...
http://www.sgi.com/tech/stl/EqualityComparable.html
2006-07-08 07:07:37 +00:00
Chris Danford
4adbb6e70b
add PG Impact USB pad
2006-07-06 01:10:49 +00:00
Glenn Maynard
94780b3fad
support MultiPlayer inputs
2006-07-01 02:16:38 +00:00
Chris Danford
140f589224
mappings for Trio Linker
2006-05-17 17:41:00 +00:00
Chris Danford
a1270f74c7
add mappings for older Afterburners
2006-03-29 17:58:35 +00:00
Chris Danford
691a0daae5
add description for Ignition/Afterburner
2006-03-28 22:32:54 +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
Glenn Maynard
1514f2f5d4
remove old checkpoints
2006-02-25 06:07:40 +00:00
Chris Danford
08759a1f67
map ignition Back to Back, not Tri to Back
2006-02-09 01:24:20 +00:00
Chris Danford
ecce21a0b4
automapping cleanup
2006-02-09 00:50:00 +00:00
Chris Danford
ce0d196ad9
fix EMS USB2 mapping
2006-02-09 00:10:39 +00:00
Chris Danford
c1848ab4a5
unmap joystick before applying its automappings
2006-02-09 00:04:01 +00:00
Chris Danford
ecd578c21c
2nd start mapping back to slot index 1
2006-02-07 09:08:44 +00:00
Chris Danford
2e156ab4cb
fix bad button comment
2006-02-07 09:07:18 +00:00
Steve Checkoway
a8043ac3d8
Don't map more than MAX_GAME_CONTROLLERS.
2006-01-27 10:20:10 +00:00
Steve Checkoway
9120254fdc
Fix crash when using EMS USB2.
2006-01-27 10:11:50 +00:00
Steve Checkoway
e5bbe7f1e9
Spacing cleanup.
2006-01-27 09:51:51 +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
6fdfc482de
automapping for Ignition
2006-01-26 05:50:43 +00:00
Chris Danford
6a1ef9d858
refresh mapping screen text when automapping is applied because of a joystick plug/unplug
2006-01-26 04:51:07 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
c48acf2b16
use enum_add2
2005-12-28 21:05:43 +00:00
Glenn Maynard
70d67b6e5e
fix slightly excessive memory usage
2005-12-28 20:50:12 +00:00
Glenn Maynard
841bbf4c1f
remove GetNumDeviceButtons
2005-12-28 09:48:32 +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
Chris Danford
74749a19bb
move localized string to separate file
2005-12-22 03:10:04 +00:00
Chris Danford
d698a5f1ec
CString -> RString in RageUtil
...
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford
f1af56a261
fix mappings screwed up after mapping comma key and restarting
...
fix VC6 compile
2005-12-19 12:52:59 +00:00
Glenn Maynard
c4c66841ec
move some prefs out of PrefsMan
2005-12-19 00:18:33 +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
Steve Checkoway
d62b517636
Use SpecialFiles.
2005-12-12 09:59:37 +00:00
Steve Checkoway
14c705a2de
Fix abort at runtime.
2005-12-12 09:48:18 +00:00
Chris Danford
ec51af900e
CString -> RString for files used by smpackage
2005-12-10 08:15:44 +00:00