Commit Graph

37 Commits (fe867edefbef67bdc4be4745a79762217b6e1823)

Author SHA1 Message Date
Connor McLaughlin 4dc9e10777 HostInterface: Support per-controller-type settings 5 years ago
Connor McLaughlin 2a38090e7a HostDisplay: Move most backend logic to FrontendCommon 5 years ago
Albert Liu 1a45ee3018 CommonHostInterface: Use largeImage fields in Discord presence payload
Fixes application icon not showing up in Discord Rich Presence.
5 years ago
Connor McLaughlin 58b0e6859a Frontend: Reset/restore GPU state before saving screenshot
Fixes driver crashes in Vulkan.
5 years ago
Albert Liu 293c2f50cd ControllerInterface: Make axis-to-button deadzone customizable 5 years ago
Albert Liu 6b7c068f83 ControllerInterface: Implement axis scaling for axis-to-axis mappings
This feature allows us to work around analog stick range issues at the
intercardinal directions in certain titles (e.g. Rockman DASH 2) caused
by modern controllers having a tighter logical range of reporting than
PS1 analog controllers.
5 years ago
Connor McLaughlin 63cc4ab197 CommonHostInterface: Release save state selector before display
This can have GPU objects, so needs to be released first.
5 years ago
Albert Liu 8a94fc944a CommonHostInterface: Fix minor log message typo 5 years ago
Connor McLaughlin 8d2c7db224 Qt: Source input profiles from program and user directory
This way Linux users as well as Windows users who use the Documents
user directory can use the shipped input profiles.
5 years ago
Connor McLaughlin 075380f8e0 Move most helper logic from base HostInterface to FrontendCommon 5 years ago
Albert Liu e1e3cf4f5a CommonHostInterface: Simplify input profile saving 5 years ago
Connor McLaughlin b17a5832e5 System: Simplify save state booting
Fixes memory card warning messages on load state.
5 years ago
Connor McLaughlin 6477e5fb54 CommonHostInterface: Add volume up/down/mute hotkeys 5 years ago
Connor McLaughlin c67e877d82 CommonHostInterface: Fix -state command line parameter not working 5 years ago
Connor McLaughlin 2d6bdc1f82 Qt: Fix rumble not stopping on power off 5 years ago
Connor McLaughlin 1ed86f4897 Frontends: Add Discord Presence support 5 years ago
Connor McLaughlin d8ab587153 HostInterface: Modify settings loading interface to support per-frontend settings 5 years ago
Connor McLaughlin 63692a012f Qt: Add "New..." to input profile save button
This will ensure the profile gets saved to the correct location.
5 years ago
Connor McLaughlin fce35d6dbe CommonHostInterface: Support mouse bindings 5 years ago
Connor McLaughlin a111e36ad7 CommonHostInterface: Add proper fast forward toggle 5 years ago
Connor McLaughlin b9954a943a CommonHostInterface: Default hotkeys for new save state UI
- F1: Load
- F2: Save
- F3: Select Previous
- F4: Select Next
5 years ago
Connor McLaughlin 2a710798cc CommonHostInterface: Add save state selector UI 5 years ago
Connor McLaughlin 277c03aca0 Add auto-generated Git version to window titles 5 years ago
Connor McLaughlin f75ea052a6 FrontendCommon: 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 915989fa25 CommonHostInterface: Remove extra newlines in messages 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 e7640d5367 HostInterface: Make SetUserDirectory() overridable by frontends 5 years ago
Connor McLaughlin 11e8a91e30 CommonHostInterface: Simplify fullscreen toggle 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 1ee68ad12a CommonHostInterface: Add Screenshot hotkey 5 years ago
Connor McLaughlin 8f39a0f154 Qt: Properly implement "Start Fullscreen" 5 years ago
Connor McLaughlin ef2796b780 CommonHostInterface: Fix controller inputs not binding
Fixes #46.
5 years ago
Connor McLaughlin d41e6dd28f CommonHostInterface: Add some more default key bindings
Also remove some unused code.
5 years ago
Connor McLaughlin f2adb71a70 CommonHostInterface: Bind face buttons to keypad by default 5 years ago
Connor McLaughlin 9ab5212833 FrontendCommon: Make SDL2 dependency optional 5 years ago
Connor McLaughlin f35970fcac FrontendCommon: Move input binding and some other logic from Qt to common 5 years ago