Commit Graph

5030 Commits

Author SHA1 Message Date
mjbudd77 c3b911ab5c Added logic for gamepad key remap edit and delete buttons. 2021-03-23 22:07:22 -04:00
mjbudd77 c753820d32 Successful test of basic gamepad button remapping to keyboard sequences. 2021-03-23 21:38:13 -04:00
mjbudd77 16fc02daaf Advanced game pad button to key remapping in work. 2021-03-22 22:57:53 -04:00
mjbudd77 96dfa954e1 Advanced game pad key sequence mapper in work. 2021-03-22 22:24:50 -04:00
mjbudd77 13d93f1b84 Added initial window layout for advanced gamepad key binding feature. 2021-03-21 21:11:16 -04:00
mjbudd77 3836e03f53 Merge branch 'master' into gp-function_binding 2021-03-21 20:05:21 -04:00
mjbudd77 099f5820e2 Bug fix for hot key toggling of background render plane for Qt GUI. 2021-03-21 19:47:00 -04:00
mjbudd77 04caf3a03f Added logic to process all QCoreApplication events in main window loop to ensure that GUI stays responsive when rendering slows app execution down. Mac OS OpenGL was causing odd event processing delays. So now we will ensure all events are processed before attempting any rendering. 2021-03-21 18:31:20 -04:00
mjbudd77 b942f07e9f Minor correction to Lua script path line edit box. Added clear buttons for line edit boxes on Lua console window. 2021-03-21 15:00:39 -04:00
mjbudd77 26ee4ea14a Force default mac OS path separator to be / instead of old style : 2021-03-21 14:32:16 -04:00
mjbudd77 95aa96a14e Aspect ratio pixel scaling fixes for Qt GUI. For issue #341. 2021-03-21 13:47:12 -04:00
mjbudd77 b825454fee Added to fix Qt build issue with pre Qt 5.12 builds. 2021-03-21 08:34:08 -04:00
mjbudd77 451b0f8474 For Qt GUI, change square pixel video option to be a force aspect ratio option and added a small list of preselect aspect options via video config window. Aspect ratio is now a configuration parameter for the video viewport. This addresses most of issue #341. Still TODO add custom aspect entry capability. 2021-03-21 07:17:01 -04:00
mjbudd77 9e1eb03b96 Added initial framework for being able to bind gamepad button presses to emulator key sequences. This makes it possible to trigger any short cut or hot key. 2021-03-20 09:24:02 -04:00
mjbudd77 afe54a5ab9 Fixed iNES_HEADER struct/class definition miscompare warning. 2021-03-19 22:05:20 -04:00
mjbudd77 fda056cdc3 Resolved a couple signed vs unsigned miscompare warnings. 2021-03-19 22:01:12 -04:00
mjbudd77 d52c4c24b6 Swapped out deprecated QPalette::Background symbol for QPalette::Window. 2021-03-19 21:53:10 -04:00
mjbudd77 2f097ff4b3 Resolved a couple bool/int comparision compiler warnings. Fixed Qt GUI crash when setting 4 score settings without a ROM loaded. 2021-03-19 21:37:27 -04:00
mjbudd77 bc3b156cf5 Compiler warning cleanup of unused variables and exception handling. 2021-03-19 20:59:03 -04:00
mjbudd77 456251861a Added a targeting reticle icon that can be used as a mouse cursor on the main viewport of Qt GUI. Easier to aim with for zapper games emulated by mouse. 2021-03-18 22:30:40 -04:00
mjbudd77 ffd5de60aa Added logic to Qt GUI to allow for the shape of the viewport cursor to be selectable between an arrow, cross, or blank. Also added a viewport cursor visibility configuration parameter. Cursor visibility and shape can be set via the video config option window. 2021-03-14 14:02:10 -04:00
mjbudd77 b1c0c4447f Successful test of using saved QPalette color settings. 2021-03-07 13:28:44 -05:00
mjbudd77 9642be0db1 Added functions to save QPalette color settings to a file and load then on request. 2021-03-06 22:30:56 -05:00
mjbudd77 7eb8ea9608 Added a GUI widget style test window. Contains most of the widget types for ease of seeing style changes. 2021-03-06 00:40:58 -05:00
mjbudd77 a9059517a5 Added menu to GUI palette color editor. 2021-03-05 22:26:32 -05:00
mjbudd77 037f1e04f9 Added color picker logic for GUI color palette selection. 2021-03-05 22:03:25 -05:00
mjbudd77 5ee2c6875e Created framework for GUI color palette edit window. 2021-03-05 21:29:50 -05:00
mjbudd77 0203344802 Added logic to look for a QResource (rcc) file along side a qss file when loading a new stylesheet. 2021-03-05 15:09:28 -05:00
mjbudd77 f7480c8560 Style fix for Qt gamepad config window button text. 2021-03-05 12:24:36 -05:00
mjbudd77 cb0bc74fd4 Added a styling wrapper class to allow for more control over palette colors. 2021-03-03 22:48:45 -05:00
mjbudd77 2a6a31fa48 Added Qt stylesheet GUI selection code. 2021-03-01 21:48:57 -05:00
mjbudd77 ac0f377873 Added a GUI style selection combo box. Lists all built in GUI styles available. This allows user to change the GUI style while it is running. Also, style setting is saved and used for future GUI startups. 2021-03-01 20:24:00 -05:00
mjbudd77 8347e2fd0b Bug fix for Qt GUI using default settings to force the minimum viewport until after the GUI has been drawn/resized at least once to ensure that the menu bar size has been finalized and the viewport meets demanded values. At the first resize event, the viewport minimum size is reset back to 1x values so that the window can still be shrunk by dragging the lower window corners and edges. 2021-02-27 19:29:50 -05:00
mjbudd77 8241973af1 Fixed order of execution bug to ensure that first startup of Qt GUI with default config sizes window exactly right. 2021-02-27 18:21:39 -05:00
mjbudd77 081d55ea45 Added menu bar to the Qt RAM search window. Currently only has a File->Close menu entry. 2021-02-27 17:16:04 -05:00
mjbudd77 623c2151a7 Added a menu bar to the Qt code data logger window with basic file load/save and window close functionality. 2021-02-27 17:07:20 -05:00
mjbudd77 c962e2bd43 Added --no-compiler-runtime command line option to windeployqt in qfceux appveyor build script. This will omit vc_redist_x64.exe from being included in the built zip file. 2021-02-27 09:30:34 -05:00
mjbudd77 194a2cfca2 Fixed file dialog code in input.cpp to use QFileDialog. 2021-02-27 09:08:15 -05:00
mjbudd77 8e4282fb42 Bug fix for Qt GUI ROM hard reset function. Function was using last open file config variable to determine which ROM to reload. Changed this function to read currently loaded ROM file path from core as this will always be correct. 2021-02-26 06:16:35 -05:00
mjbudd77 1cf00640c4 Added RAM init menu option to Qt GUI. 2021-02-25 20:19:41 -05:00
mjbudd77 ffc7e70b0d For Qt GUI fixed region auto detection logic to preserve dendy mode if an NTSC game is loaded. Also, added an option to enable/disable region auto detection functionality. This allows for the users selection via the GUI to be strictly enforced. Also, added a region select sub menu to the emulation main menu. Fixes issue #335. 2021-02-25 19:36:08 -05:00
mjbudd77 67c6386688 Logic for to allow for Qt GUI to auto detect NTSC/PAL at ROM load. 2021-02-24 19:23:07 -05:00
mjbudd77 2f83d11baa Added current window and viewport size readouts to Qt video config window. 2021-02-23 22:22:03 -05:00
mjbudd77 dda6cb33bb Added some protections to prevent user from reversing start/end scanlines via video config window. 2021-02-23 21:19:17 -05:00
mjbudd77 e3f2970dcd Added scanline start/end entry boxes for NTSC and PAL/Dendy to Qt Video config window. 2021-02-23 21:04:50 -05:00
mjbudd77 c544c137f5 Compiler warning cleanup for movie.cpp. Reordered initializer in constructor to match the order in which they are declared. Gave case statement a default for unhandled enum values. 2021-02-22 07:21:14 -05:00
mjbudd77 33882cb0d7 Fix for annoying compiler warning complaining about misleading indentation following if conditional. 2021-02-21 21:12:20 -05:00
mjbudd77 bf17e53335 Fix for mismatched fceu.cpp free()/malloc() error flagged by valgrind. 2021-02-21 21:04:02 -05:00
mjbudd77 3d2d3cbf26 Changed logic for Qt windows users for the config file to be located in the same directory as the executable by default. If a user wishes to override that behavior, they can set an FCEUX_HOME environment variable and that will become the users fceux config settings are stored. 2021-02-21 20:52:55 -05:00
mjbudd77 aacee3ddb9 Bug fixes for Qt hex editor ascii section key input. Key inputs now use character table. 2021-02-21 20:21:11 -05:00