Commit Graph

5511 Commits

Author SHA1 Message Date
thrust26 b5ae1284ca fix several bugs 2019-06-30 11:43:36 +02:00
Stephen Anthony 8e425e7297 libretro: TV effects setting wasn't loading proper effect.
Note: raw ints are bad, enums are good.  Whenever Stella uses enums, libretro should use them too.
2019-06-29 23:35:10 -02:30
thrust26 ee47db85c1 remove SA specific events 2019-06-29 14:48:54 +02:00
thrust26 4334d00d6d refactor into mapping into single class
add paddle mappings
2019-06-23 20:22:10 +02:00
Stephen Anthony fe464c2521 Use smart pointer in Windows FSNode stuff. 2019-06-23 15:38:16 -02:30
Stephen Anthony e8ed2fa1dd Fix file selector with certain ZIP files not containing any ROMs. 2019-06-23 14:43:09 -02:30
thrust26 e4af4b8ff2 add controller dependent mappings 2019-06-23 14:42:04 +02:00
Stephen Anthony a04fbc8292 Fixed Xcode project for recent file selector changes. 2019-06-22 21:37:09 -02:30
Stephen Anthony 37908e8798 Fixed Windows build for latest file selector changes. 2019-06-22 21:25:40 -02:30
Stephen Anthony bcca945951 More reworking of the file selection mechanism.
- removed GameList, and integrated functionality directly into 'FSList' (which was mostly doing the same thing)
- have FSNode::getChildren() relabel directories, instead of Browser and Launcher dialogs
- MD5 calculations in ROM launcher are now cached, instead of being recalculated each time a directory is left and re-entered

Windows and macOS likely broken for a moment; this will be fixed next.
2019-06-22 21:09:42 -02:30
thrust26 b2f285d723 fix button modifier mappings
Stelladaptor specific code removeDialog
code cleanup
2019-06-22 16:54:21 +02:00
thrust26 fbf05505d3 Merge branch 'master' of https://github.com/stella-emu/stella into feature/controller-mapping 2019-06-22 10:55:21 +02:00
thrust26 c0d0e269d8 cleaning up(?) some GIT confusion 2019-06-22 10:55:00 +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
Stephen Anthony 786f3b2a49 First pass at converting LauncherDialog to use FileListWidget, similar to BrowserDialog.
- FileListWidget is a newer development, and LauncherDialog duplicates some (but not all) of its functionality
- Similarly, BrowserDialog has some functionality that LauncherDialog does not
- We will implement all required functionality in FileListWidget, and have both classes use it.

BrowserDialog is currently slightly broken; not all functionality is reimplemented yet.
2019-06-21 14:51:55 -02:30
thrust26 529c1fe7de refactor into two separate maps for stick and hats 2019-06-21 10:35:45 +02:00
thrust26 7176d291b3 initial changes 2019-06-20 14:13:59 +02:00
thrust26 d7e9c95fb0 eliminating some magic numbers in joystick handlers 2019-06-19 21:58:39 +02:00
thrust26 77c2824d4a Merge branch 'master' of https://github.com/stella-emu/stella 2019-06-17 21:05:48 +02:00
thrust26 b940aea542 fix #353 2019-06-17 21:05:31 +02:00
Stephen Anthony 84d44273d3 Minor refactor for PKeyboardHandler WRT 'Alt' functionality. 2019-06-17 11:58:37 -02:30
Stephen Anthony 4ae491dd6c Refactoring: remove obsolete 'myEvent' from PKeyboardHandler. 2019-06-16 17:47:52 -02:30
thrust26 168833e000 remove superfluous includes 2019-06-16 20:05:01 +02:00
thrust26 9ca49afeee Merge branch 'master' of https://github.com/stella-emu/stella 2019-06-16 19:52:29 +02:00
thrust26 c20035ccce refactor CompuMate key handling (uses events now too) 2019-06-16 19:52:14 +02:00
Stephen Anthony 5e6db1be0d Some UI code refactoring.
Since 'repeat' is now enabled below the UI level, we no longer need to track key presses.
2019-06-15 19:58:45 -02:30
thrust26 802b5a33bc make prompt tab initial tab in debugger
fix Dialog class for R77
2019-06-15 14:47:12 +02:00
thrust26 aef9decdfb fix #492 2019-06-15 13:10:02 +02:00
thrust26 b85bbbdcdc Merge branch 'master' of https://github.com/stella-emu/stella 2019-06-15 12:10:28 +02:00
thrust26 65cb17e736 refactor controller dependent mappings 2019-06-15 12:10:00 +02:00
Stephen Anthony af1703c24a Fix minor warnings from clang.
Minor formatting fixes.
2019-06-14 17:31:04 -02:30
thrust26 d969d9152b fix #490 2019-06-14 21:49:39 +02:00
thrust26 3b1be03f74 enable mapping start on double-click code 2019-06-14 20:03:58 +02:00
thrust26 03280abf7f improve hash function (~33% less collisions) 2019-06-14 17:49:30 +02:00
Thomas Jentzsch c43db6d85c fix broken VS project filter file 2019-06-14 09:32:34 +02:00
Thomas Jentzsch d09ccf4ad4 fix missing UI event display 2019-06-14 09:07:42 +02:00
thrust26 fca6348f7e align help wording to other code and doc 2019-06-13 21:45:37 +02:00
thrust26 73052e1351 HelpDialog display remapped keys 2019-06-13 21:39:03 +02:00
thrust26 219c4b0483 fix Event::VERSION (no reason for a change) 2019-06-13 00:01:37 +02:00
thrust26 43537c868b add autoslot event and default mapping
fix autoslot message
2019-06-12 23:58:44 +02:00
Stephen Anthony dfc1f852cf Fix invalid C++ code (use range-based FOR loop). 2019-06-12 13:10:02 -02:30
thrust26 a14d1c275d implement separate keyboard mappings for joystick, paddles and keyboard controllers
update doc accordingly
2019-06-12 16:48:41 +02:00
Stephen Anthony 2cfffd48fe Fix initialization error in DPC+ scheme (fixes #489). 2019-06-12 09:54:40 -02:30
Stephen Anthony 9ba843dae9 Fixed typo in latest doc updates. 2019-06-11 15:49:25 -02:30
thrust26 8f43d95f81 update mapping doc 2019-06-11 19:57:24 +02:00
Stephen Anthony 33c65103d6 File extensions used by BS autodetect can now use longer that 3-char extensions. 2019-06-11 14:35:01 -02:30
Stephen Anthony d9d2bffa7a Fix signed/unsigned warning in clang. 2019-06-11 13:37:55 -02:30
Stephen Anthony 9191f63da2 Fix dirty framebuffer issues in fullscreen TIA mode.
This requires some testing, since it potentially causes slowdowns on older systems.
I cannot find any difference on my test system (and documentation I've read seems to imply
that you should clear the screen before each update, and that it is very fast on most hardware).
2019-06-08 23:01:59 -02:30
Stephen Anthony 00dbf96acc PopupWidget/ContextMenu is now dynamic; one can add items after it is created. 2019-06-08 22:30:19 -02:30