Commit Graph

88 Commits (2502afc3f636a4a428a0c91b401f61cbc5a32f37)

Author SHA1 Message Date
Connor McLaughlin 3723cd5867 Qt: Mouse button binding support 5 years ago
Connor McLaughlin 9e2331c52a Qt: Redraw window immediately when switching between fullscreen/windowed
Fixes content not showing when displaying a popup message.
5 years ago
Connor McLaughlin 1dd2e0f498 Qt: Fix assertion tripping when starting fullscreen 2nd time 5 years ago
Connor McLaughlin ea3c0b65cf Qt: Refactor render widget state transitions
Recreate widget each time. Fixes fullscreen mode switches on D3D11 and
hopefully Wayland.
5 years ago
Connor McLaughlin 8a5e955ba3 Qt: Add input profile support 5 years ago
Connor McLaughlin d9ebb975b2 CommonHostInterface: Reimplement controller rumble support
Even better than before, supports separate motor control.
5 years ago
Connor McLaughlin 67f2eb3fed Qt: Fix -fullscreen not working 5 years ago
Connor McLaughlin 81cf4b469f Frontends: Add shared command line interface
Also provides batch mode and automatic fullscreen switching.

  -help: Displays this information and exits.
  -version: Displays version information and exits.
  -batch: Enables batch mode (exits after powering off)
  -fastboot: Force fast boot for provided filename
  -slowboot: Force slow boot for provided filename
  -resume: Load resume save state. If a boot filename is provided,
    that game's resume state will be loaded, otherwise the most
    recent resume save state will be loaded.
  -state <index>: Loads specified save state by index. If a boot
    filename is provided, a per-game state will be loaded, otherwise
    a global state will be loaded.
  -statefile <filename>: Loads state from the specified filename.
    No boot filename is required with this option.
  -fullscreen: Enters fullscreen mode immediately after starting.
  -nofullscreen: Prevents fullscreen mode from triggering if enabled.
  -portable: Forces "portable mode", data in same directory.
  --: Signals that no more arguments will follow and the remaining
    parameters make up the filename. Use when the filename contains
    spaces or starts with a dash.
5 years ago
Connor McLaughlin e91d760175 HostInterface: Fix crash on startup with controller connected 5 years ago
Connor McLaughlin e7640d5367 HostInterface: Make SetUserDirectory() overridable by frontends 5 years ago
Connor McLaughlin 11e8a91e30 CommonHostInterface: Simplify fullscreen toggle 5 years ago
Connor McLaughlin bf6c1c4866 Qt: Implement render-to-seperate-window and render-to-main toggle 5 years ago
Connor McLaughlin cbb9b96537 System: Include buffer swap time in frame time measurement 5 years ago
Connor McLaughlin 1d9bcb2a48 Qt: Force redraw the display when restoring after minimized 5 years ago
Connor McLaughlin 7e36195f44 HostInterface: Enable on-screen FPS/VPS/Speed display via config 5 years ago
Connor McLaughlin 29a09a3685 Introduce ControllerInterface class, port SDL interface over
This breaks controller support in the SDL frontend until it's ported
over to the common interface.
5 years ago
Connor McLaughlin afe2f96474 Qt: Fix display not updating after resize when paused
Fixes #104.
5 years ago
Connor McLaughlin 282998d0bb Qt: Add screenshot button 5 years ago
Connor McLaughlin fe2e6561d3 Qt: Add audio dumping options 5 years ago
Connor McLaughlin 21ecf231d9 Qt: Show game list scanning progress visually 5 years ago
Connor McLaughlin 0e3bcfa7b5 Qt/HostInterface: Track main window pointer 5 years ago
Connor McLaughlin 8f39a0f154 Qt: Properly implement "Start Fullscreen" 5 years ago
Connor McLaughlin 2480624cbe Qt: Replace QWindow for display with QWidget base
Not as elegant, but it solves the input focus issue.
5 years ago
Connor McLaughlin e8a5259e68 Qt: Show save times in save state menu as well 5 years ago
Connor McLaughlin 2004de7170 Qt: Fix controller rebinding not registering when paused 5 years ago
Connor McLaughlin 69f03959aa Qt: Implement context menu in game list 5 years ago
Connor McLaughlin 0c40903f74 Qt: Fix double mutex lock on controller type change
Fixes #39.
5 years ago
Connor McLaughlin fcc0ae9571 GPU: Implement "Crop Mode" (none, overscan, all borders) 5 years ago
Connor McLaughlin f35970fcac FrontendCommon: Move input binding and some other logic from Qt to common 5 years ago
Connor McLaughlin 509f26ad7e Qt: Add some more default hotkeys (fullscreen/pause/poweroff)
Along with the previous commit, fixes #32
5 years ago
Connor McLaughlin e4ff8b0936 Qt: Add power off hotkey and confirmation message 5 years ago
Connor McLaughlin 27c9f2d834 Qt: Add a method for the emulation thread to focus the display widget 5 years ago
Connor McLaughlin e9dea6e0f7 HostInterface: Add a ConfirmMessage() method 5 years ago
Connor McLaughlin 460ff24248 Qt: Support SDL audio backend 5 years ago
Connor McLaughlin 262331504f Qt: Support binding controller axes 6 years ago
Connor McLaughlin 208928b6dc Qt: Fix load state menu not refreshing after save 6 years ago
Connor McLaughlin 06f4d72631 FrontendCommon: Use SDL_InitSubSystem() for lazy initialization 6 years ago
Connor McLaughlin 6d945439eb Qt: Fix possible crash/race when startup fails 6 years ago
Connor McLaughlin 59cf799491 Qt: Implement controller interface/binding 6 years ago
Connor McLaughlin e01cf0dccb Frontends: Implement auto save on exit/resume 6 years ago
Connor McLaughlin 5f3be68028 HostInterface: Notify host when controller types change 6 years ago
Connor McLaughlin 1e009133ae Rename 'Default' audio backend to 'SDL' 6 years ago
Connor McLaughlin d17f0a3923 Qt: Implement disc change in QtHostInterface 6 years ago
Connor McLaughlin e5740a5632 Qt: Pass QStrings by reference in HostInterface 6 years ago
Connor McLaughlin fd8ed08307 Move more logic from frontend to base HostInterface 6 years ago
Connor McLaughlin 1ce1e016ae Qt: Implement save state menus 6 years ago
Connor McLaughlin d7f8884291 Qt: Fix compilation under clang-9
Fixes #23.
6 years ago
Connor McLaughlin 2bf6912f39 Qt: Simplify emulation thread loop 6 years ago
Connor McLaughlin c820ddba79 HostInterface: Move throttle and perf stats to System class 6 years ago
Connor McLaughlin faf2308695 Settings: Move set defaults to HostInterface so it can use user paths 6 years ago