Commit Graph

38 Commits

Author SHA1 Message Date
Yauhen Artsiukhou 705cd55a04 Add native restart menu button
It should replace Simply Love restart hack.
Now it is possible to assign any button to restart.
2024-08-26 10:52:19 -07:00
Martin Natano bacecae1f7 Decouple <vector> 2023-04-21 22:13:41 +02:00
Martin Natano 0b0787f344 Replace COMPILE_ASSERT() with standard static_assert() 2023-04-20 11:21:29 +02:00
Martin Natano 78fb2e9fc3 Decouple <cstddef> 2023-04-20 11:21:29 +02:00
Michael Sundqvist 0cba3579de Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
2022-07-31 22:14:38 +02:00
din d694560e63 drio dll support for win32. 2022-06-05 20:56:47 +02:00
Martin Natano 6894386662 Change the default binding for P2/back from hyphen to backslash
This is a workaround to make the hyphen key usable in text entry
screens. It allows to add a hyphen to profile names and set a negative
offset in edit mode.

Technically backslash is also a typeable character, but it seems to be
less common names in user names and not necessary for typing negative
offsets.

Fwiw, in outfox P2/back is unbound.
2021-08-19 22:28:59 +02:00
x0rbl 9481834180 Add pad support for Raw Thrills I/O (DDR X2 US cabinets) on Windows 2019-09-18 03:12:04 -07:00
teejusb 7e3789b131 Integrate C++11 branch into 5_1-new 2019-06-22 12:35:38 -07:00
Kyzentun Keeslala 2c54b474bb Added various GameButton_Invalid checks to InputMapper to make its functions give rational results instead of crashing. 2016-03-23 23:10:21 -06:00
Jason Felds d9a3c9cf97 Use cmake to determine which string func we need.
On a side note, better to default to linux names when possible.
2015-10-07 19:00:16 -04:00
Colby Klein b07dc24700 Add Automappings for D-Force dance pads 2015-02-12 20:30:59 -08:00
Kyzentun f4a718a824 SetCompatibleStylesForPlayers and ForceSharedSidesMatch added to GameState for SSM to use to fix style mismatch problems.
StyleInputToGameInput changed to take a vector to return values in to handle multiple inputs mapped to a single column.  Associated adjustments to everything that uses it.
Player no longer drops holds in columns that have multiple inputs mapped to them if the wrong one is held.
Running out of stage tokens changed from assert to error.
2015-01-17 21:15:15 -07:00
Kyzentun d3b5f5eb98 Added debug menu option for resetting key mappings to default. Added sanity checking requirement to ScreenMapControllers. 2014-11-30 14:45:52 -07:00
Kyzentun a5d9f029f3 Added optional config ini file for configuring key mappings used by Edit Mode. 2014-11-17 04:24:20 -07:00
Kyzentun f2fdaa0cf5 Massively improved Config Key/Joy Mappings screen.
Warning is dismissable now, and cursor does not start in a position that will change a setting.
New special actions added:  ClearToDefault, ReloadFromDisk, SaveToDisk, SetListMode.  Exit is a special action.
Player is prompted to save when exiting screen instead of saving after every action.
Special actions fallback on Graphics/SMC action if they don't have their own.
Moved SMC overlay to Graphics/SMC warning.
Metrics for configuring input lock time, warning autodismiss time, lines visible, and NoSetListPrompt autodismiss time.
Header row added for cursor to start on.
ScreenMapControllers2 deleted as obsolete.
BitmapText:maxwidth changed to factor the zoom of the actor into the calculation.
2014-09-04 01:23:28 -06:00
Ben "root" Anderson a040c4a586 1) SOMEONE can't spell "accessible" 2) Global commenting consistency 3) persistance -> persistence 2013-11-30 09:50:54 -06:00
Devin J. Pohly 1220dbe085 Revert "Round 2-2 of this."
This reverts commit 0ae4183f7b.
2013-06-04 23:47:22 -04:00
Jason Felds 28e5148dec The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
2013-05-03 23:39:52 -04:00
Jason Felds 9f24627bf9 The big NULL replacement party part 1.
This is meant to be a safer alternative since
NULL can often be 0. Let's not rely on that.

And yes, I know this is a lot of files. This is
a safer thing to do in big commits vs for loops.
2013-05-03 23:01:54 -04:00
Jason Felds c67419ecc8 There goes the macro file.
This is one of my bigger commits in this branch.

Still, shouldn't cause a problem.
2013-05-01 23:54:39 -04:00
Jason Felds d1bf7fbc58 One loop. 2013-05-01 22:38:02 -04:00
Jason Felds 1be7ad9415 Address the loops. 2013-04-30 20:44:36 -04:00
Jason Felds 0ae4183f7b Round 2-2 of this. 2013-04-16 00:16:02 -04:00
AJ Kelly 105c1b74d6 [InputMapper] Use "|" for separating entries instead of ",", since some companies have names like "x Ltd., something". [Mordae, AJ] 2012-07-09 12:21:21 -05:00
Jason Felds fed3c9bf2c NumLock becomes Hyphen. P2 gains Back Button.
This should alleviate some issues.
2011-06-13 16:08:28 -04:00
AJ Kelly 17d2423ee4 more reverting of the case checking stuff 2011-06-05 00:45:52 -05:00
Jason Felds 750b688de4 Consistent insensitive string comparisons.
This seems to reduce the need for a #define,
but I need someone on the Windows side to check.
2011-05-11 16:48:51 -04:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
Jason Felds e9df4832f6 Bring shadowed variables back from the dark side.
Alright Colby, happy now?
2011-03-14 02:54:11 -04:00
AJ Kelly 828e36219f remove another todo of mine 2011-03-07 15:22:41 -06:00
AJ Kelly bf9609ca5c latest work on mice stuff, still not too far. also slight cleanup 2011-02-15 01:54:43 -06:00
AJ Kelly 641777ddf7 Found 2 DirectInput devices:
0: 'Keyboard' axes: 0, hats: 0, buttons: 256 (buffered)
   1: 'Mouse' axes: 3, hats: 0, buttons: 8 (buffered)

So let's get this straight:
Left, Right, and Middle clicks work.
Wheel Up and Wheel Down work.
X/Y axis doesn't seem to work yet.
2011-02-14 17:08:29 -06:00
AJ Kelly 3df2b54aa4 indentation 2011-02-14 01:47:06 -06:00
AJ Kelly a1cd8501b9 cleanup 2010-07-03 21:57:01 -05:00
AJ Kelly 877ee6d407 allow upleft and upright to be used on Positive Gaming USB pad. [corec] see issue 137: http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=137 2010-05-26 00:27:58 -05:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00