Commit Graph

19 Commits

Author SHA1 Message Date
Stephen Anthony 897376d351 Fix gcc warning: use const references instead of pass by value for exceptions. 2020-11-28 22:25:22 -03:30
Christian Speckner 8c2f39447e Migration fixes. 2020-11-28 21:04:26 +01:00
Christian Speckner b4a03b6dae Coversion for legacy joystick mappings. 2020-11-28 12:15:02 +01:00
Christian Speckner 07489ebf86 Load joystick mappings from json. 2020-11-16 22:26:25 +01:00
Christian Speckner 1b5cdf2002 JSON joystick mappings, still missing load and migration. 2020-11-15 22:53:07 +01:00
Stephen Anthony 7d23029338 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
Stephen Anthony cf9bd9dd10 First pass at moving to default member initialization.
This fixes potential issues with forgetting to initialize in c'tors.
2019-12-28 21:14:52 -03:30
Stephen Anthony db096b911c Convert joystick handler to use vectors and eliminate raw new/delete. 2019-12-22 21:43:50 -03:30
Thomas Jentzsch bd03895556 made EventMode an enum class 2019-08-15 10:12:37 +02:00
Thomas Jentzsch 96a8ccc814 remove some debugging output
refactored controller mapping loading
2019-08-14 09:47:34 +02:00
Thomas Jentzsch b2452a81ee fix some joystick mapping bugs
update R77 readme with button combos
2019-08-12 16:26:35 +02:00
thrust26 9b63a1e3d4 fix several bugs 2019-06-30 11:43:36 +02:00
thrust26 a693d67515 refactor into mapping into single class
add paddle mappings
2019-06-23 20:22:10 +02:00
thrust26 ee62e0ae95 fix button modifier mappings
Stelladaptor specific code removeDialog
code cleanup
2019-06-22 16:54:21 +02:00
thrust26 6b4645485b allow button as modifier for direction and hat
load/save controller mappings
2019-06-22 10:37:42 +02:00
thrust26 d4ae525baf implement rudimentary mapping 2019-06-21 21:11:52 +02:00
thrust26 a83e9e0aa8 eliminating some magic numbers in joystick handlers 2019-06-19 21:58:39 +02:00
Stephen Anthony 275666b0af The annual copyright year update. 2019-01-01 11:35:51 -03:30
Stephen Anthony 76b6026d30 First pass at reworking EventHandler, splitting it up into more manageable pieces.
For now, joystick-related stuff is moved into its own classes.
No improvements are made yet; just refactoring and moving code around.
This reduces EventHandler from ~2500 lines to ~2000 lines.
2018-03-17 18:00:44 -02:30