Glenn Maynard
928e950006
Most of Game is generic, but not all. Split the InputMapper-
...
specific stuff apart into InputScheme.
2006-09-30 08:18:36 +00:00
Glenn Maynard
6e6ea7971d
NUM_GameButton
2006-09-27 04:39:51 +00:00
Glenn Maynard
d19fdc9caf
NUM_GameController
2006-09-26 20:57:31 +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
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
09663989be
typo
2006-09-13 08:24:21 +00:00
Glenn Maynard
5ca7cf8809
cleanup
2006-09-13 08:23:28 +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
9139883e64
simplify
2006-09-13 01:18:11 +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
c4c73b5179
remove transition
2006-09-08 02:13:54 +00:00
Glenn Maynard
ec3b9382d2
InputMapper::IsButtonDown -> IsBeingPressed, to match InputFilter::IsBeingPressed
2006-09-08 02:12:30 +00:00
Steve Checkoway
cff13747a6
Cleanup.
2006-09-02 20:17:17 +00:00
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