Commit Graph

150 Commits

Author SHA1 Message Date
Glenn Maynard cf5dba03a4 GameController_Invalid 2006-09-26 20:59:40 +00:00
Glenn Maynard d19fdc9caf NUM_GameController 2006-09-26 20:57:31 +00:00
Glenn Maynard a7e98a7ece FOREACH_GameController 2006-09-26 20:52:11 +00:00
Glenn Maynard 7de372bd1d simplify 2006-09-15 05:25:51 +00:00
Glenn Maynard 0d138e13d8 MenuInputToGameInput -> MenuButtonToGameInputs 2006-09-14 20:57:07 +00:00
Glenn Maynard dd2f259a2f MenuInput -> MenuButton 2006-09-14 20:45:51 +00:00
Glenn Maynard f652510cc5 RepeatStopKey: stop repeating a key until it's released 2006-09-14 20:39:54 +00:00
Glenn Maynard a05fe7e8ab simplify GameToMenu 2006-09-14 20:37:41 +00:00
Glenn Maynard 3fe68d7f7d simplify 2006-09-14 05:18:40 +00:00
Glenn Maynard 5a890ba48d use GameInputToMenuButton 2006-09-14 03:49:12 +00:00
Glenn Maynard 2c3ea735a8 remove transition 2006-09-14 03:45:52 +00:00
Glenn Maynard 0244e48eca transitional: accept pn arg to MenuInput helpers 2006-09-14 03:34:52 +00:00
Glenn Maynard d5857acb3a A problem with removing StyleI.player: an obscure difference
between StyleI.player and MenuI.player is that StyleI is set even
if there's no attached MenuButton, and MenuI.player is set even
if there's no attached column.  That's an odd distinction, anyway.

Move input.MenuI.player to input.pn.  This also puts it in the
same place as input.mp.
2006-09-13 09:57:07 +00:00
Glenn Maynard 8277bdf5dd typo 2006-09-13 03:20:59 +00:00
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