Commit Graph

114 Commits

Author SHA1 Message Date
Stephen Anthony b6717a4b9a Fix some minor warnings from Clang. 2020-03-26 12:30:33 -02:30
thrust26 6741cb4ef9 split X and Y center of paddles
add definition of paddles centers via game properties
2020-03-25 19:28:39 +01:00
thrust26 4ad59781d8 First shot at configurable paddle input (#522) 2020-03-25 09:32:12 +01:00
thrust26 b5ac004b01 improve alignment of some sliders and labels in InputDialog 2020-03-24 17:02:27 +01:00
Stephen Anthony 9ad47ae5f3 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
thrust26 bfb5bee208 make user aware of grab mouse limitations 2019-12-30 09:46:46 +01:00
Stephen Anthony 3e3b9b3d50 Final updates for default initialization.
The debugger is crashing, so now the debugging begins :)
2019-12-29 20:12:37 -03:30
Thomas Jentzsch 019f4ae247 Implement event filter in InputDialog (resolves #517) 2019-08-17 15:42:39 +02:00
Thomas Jentzsch 9f51b8caa0 rename some variables 2019-08-15 12:20:10 +02:00
Thomas Jentzsch b47234f776 convert int into JoyAxis/JoyDir 2019-08-15 11:53:15 +02:00
Thomas Jentzsch 80a5c5c6bf first pass on converting int into JoyAxis/JoyDir 2019-08-15 10:58:11 +02:00
Thomas Jentzsch 55d3c9106f made EventMode an enum class 2019-08-15 10:12:37 +02:00
Thomas Jentzsch d731b71afb propagate 'repeated' to dialogs 2019-08-14 17:25:42 +02:00
Thomas Jentzsch 654c843084 add long button press to launcher for power on options
note: currently this feels more like a hack
2019-08-13 14:06:27 +02:00
Thomas Jentzsch e236b0ce95 rename paddle events
update input mapping doc
remove abbreviation from InputDialog tab
2019-08-12 11:09:00 +02:00
Thomas Jentzsch ce10108660 improve controller remapping
stop input repeats during remapping
2019-08-10 13:56:32 +02:00
thrust26 bb7bebb79f allow button as modifier for direction and hat
load/save controller mappings
2019-06-22 10:37:42 +02:00
thrust26 8210a25f40 implement rudimentary mapping 2019-06-21 21:11:52 +02:00
thrust26 ce5a935d49 remove now superfluous "hardcoded" message in InputDialog 2019-06-02 18:45:53 +02:00
thrust26 b566c34793 refactor 'ctrlcombo' into 'modcombo', suppresses all modifier key combinations 2019-05-30 12:31:34 +02:00
thrust26 d9ba5bedd7 fix mapping for side independent modifiers (press both + key) 2019-05-28 18:29:18 +02:00
Stephen Anthony d1df80b41d Code cleanup, formatting, etc. 2019-05-28 11:39:49 -02:30
thrust26 fc79665d3a refactor key mapping using hash map
key mapping now allows key + modifier combinations
2019-05-25 15:12:34 +02:00
thrust26 b043ed5335 renamed 'setTickmarkIntervals' 2019-05-14 22:52:06 +02:00
thrust26 93c7a69351 rename "dejitter" parameter names and add them to the CLI help 2019-05-12 19:55:14 +02:00
thrust26 eb2ece7bde define dejitter defaults 2019-05-09 20:11:42 +02:00
thrust26 41b990109a split paddle dejitter settings 2019-05-09 19:05:33 +02:00
thrust26 d21f5fdb22 add dejitter UI and experimental parameters 2019-05-08 22:02:04 +02:00
thrust26 c83d22604b Save input mappings when leaving dialog 2019-05-07 20:23:28 +02:00
Stephen Anthony e34575753a Some cleanups to Widget class. 2019-04-27 22:09:05 -02:30
Stephen Anthony cfe79ec0b1 Major changes to controller infrastructure.
Basically, separate high-level read/write from low-level set/getPin methods.
2019-03-29 20:47:24 -02:30
Stephen Anthony 275666b0af The annual copyright year update. 2019-01-01 11:35:51 -03:30
thrust26 e2a0fe9ffb Dialogs do remember their wanted size, so that OptionsDialog's dialogs are recreated only when necessary. 2018-12-30 18:47:35 +01:00
Stephen Anthony 8c7488914d Fix some warnings generated by cppcheck (a C++ linter). 2018-08-27 11:09:03 -02:30
thrust26 67785c34c5 made upper and lower case more consistent 2018-08-19 10:08:11 +02:00
thrust26 6cafbba3e4 Added tickmarks to sliders. 2018-07-31 17:51:53 +02:00
Stephen Anthony e691853f0e First pass at fixing superfluous re-draws in the UI.
- This addresses issue 158, and reduces CPU usage to near 0% when no changes are happening
- This returns the code to the same performance levels as version 3.x.
2018-07-25 08:48:21 -02:30
Stephen Anthony 2874a7c504 Fixed some compiler warnings from clang.
Refactored Stack::replace() to use Stack::applyAll() lambda instead.
2018-02-06 15:11:16 -03:30
thrust26 28b31bd3bf updated some dialogs, replaced binary option popups with check boxes and radio buttons
renamed "FAST SC/AR BIOS"
2018-01-27 20:31:03 +01:00
thrust26 79cce110f9 minimal refinements to JoystickDialog 2018-01-27 11:51:41 +01:00
thrust26 4c39fa3c68 some more focus highlighting added
made most sliders wider by default
2018-01-25 17:00:41 +01:00
thrust26 5bd33885e3 title bar added to all dialogs 2018-01-24 14:37:07 +01:00
thrust26 74e5003c8f some small dialog refinements 2018-01-23 19:50:37 +01:00
thrust26 d115e3238e enabled FLAT_UI (Windows only, TODO: enable for other OS or remove old code)
refactored Default/OK/Cancel buttons
refined AudioDialog
2018-01-23 11:08:17 +01:00
Stephen Anthony 3d879d0080 Updated copyright date to 2018. A few days early, but nobody will mind ... 2017-12-29 17:10:37 -03:30
Stephen Anthony 7890a94144 Several large infrastructure changes for upcoming Time Machine stuff:
- renamed Rewinder and associated dialog to TimeMachine and friends
 - changed EventHandler state enum to stronger 'enum class' type (and associated changes to the codebase)
 - moved EventHandlerState into separate class, allowing a few files to not need to include EventHandler.hxx (reduce compile dependency)
 - plumbed EventHandlerState::TIMEMACHINE into the codebase; still TODO is activate it and add a usable dialog)
2017-12-20 21:56:22 -03:30
thrust26 c9eaf31181 Fixed several (invisible) widget transparency issues (WIDGET_CLEARBG) 2017-12-17 21:19:32 +01:00
Stephen Anthony 434d2dfc83 Converted some raw enum to 'enum class' in FrameBufferConstants. 2017-12-14 21:29:45 -03:30
Stephen Anthony 31da99f48b Convert some raw enum to C++11 'enum class' in EventHandlerConstants. 2017-12-14 21:04:19 -03:30
thrust26 d6680a681f made "color loss", "stats" and "grab mouse" hotkey toggles temporary only
added messages for "grab mouse" toggle
updates doc for "grab mouse" toggle
2017-11-23 22:13:37 +01:00