Commit Graph

54 Commits (6cc350a4599ec6e4c27f18eb64d1aa765117d694)

Author SHA1 Message Date
Stenzek e4a358cacb
Controller: Add Pop'n and Densha De Go Controllers
Variants of digital controller with different buttons grounded.
2 years ago
Stenzek 036e11f7a8
Qt: Remove unused variable 2 years ago
Stenzek 4e880280bd
Qt: Fix inconsistent multitap addressing
And remove multiple copies of the same variables while we're at it.
2 years ago
Stenzek 7f4e5d55db
Misc: Update copyright headers 2 years ago
Stenzek 9e3507e0f4
InputManager: Support multiple mice via raw input
Only on Windows for now.
2 years ago
Stenzek fda6140088
GameDatabase: Add DisableAutoAnalogMode trait
For games that can handle analog controllers, but the sticks do not do
anything.
2 years ago
Stenzek aa9a5e383d
ImGuiOverlays: Change icon colour depending on controller mode 2 years ago
Stenzek fa104acdd1
Misc: Purge unused code and report startup error to host 2 years ago
Stenzek ca3cfbaa99
Misc: Pass string_view by value 2 years ago
Stenzek d094978214
Justifier: Add controller implementation 2 years ago
Stenzek 3e99084770
Settings: Fix double source of truth for controller names 2 years ago
Matheus Fraguas 07c012aee5
Negcon rumble (#3177)
* Implemented NeGcon with rumble. Code is a mix of the existing NeGcon AnalogController modes.

* Fix negcon id reply and analog/digital toggle.

* Implemented NeGcon with rumble. Code is a mix of the existing NeGcon AnalogController modes.

* Fix negcon id reply and analog/digital toggle.

* Update macros

* Code cleanup
2 years ago
Stenzek 7d5e2bf50c
FullscreenUI: More localization fixes 3 years ago
Stenzek dfb27c14be
FullscreenUI: More localization fixes 3 years ago
Stenzek fc6359457b
ImGuiManager: Use PromptFont icons for input OSD 3 years ago
Stenzek 3cd28f433b Controller: Use std::span 3 years ago
Stenzek 7e07d2feb8 GunCon: Add relative pointer binding 3 years ago
Stenzek 259193a8e5 GPUDevice: Move software cursor to ImGuiManager 3 years ago
Stenzek 1ec6aee5bf Host: Split translation macros dependent on return type 3 years ago
Dolphin 9526e15ec2
Update japanese translation (#2969)
* update base duckstation-qt_ja.ts

* update Japanese translation

* translate controller name on controllersettingsdialog
3 years ago
Connor McLaughlin 395e9a934b InputManager: Support inverted full axis
i.e. pedals
4 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
4 years ago
Connor McLaughlin f5b7311a45 Controllers: Make deadzone circular 4 years ago
Connor McLaughlin 4feb5ad548 Controller: Make InAnalogMode() virtual 4 years ago
Connor McLaughlin 35f272b336 Settings: Set default controller type to AnalogController 4 years ago
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 4 years ago
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 4 years ago
Connor McLaughlin 251043f11a OSD: Add controller input display overlay 6 years ago
Albert Liu 5ff3299384 Controller: Add method for reading analog input bytes 6 years ago
Connor McLaughlin 8bb5ff47eb PlaystationMouse: Add option to use relative mode 6 years ago
Connor McLaughlin ca42d027ac Qt: Implement relative mouse mode 6 years ago
Connor McLaughlin 47f0720b93 Controller: Always preserve internal state when loading/resuming
Fixes analog mode getting disabled when loading state.
6 years ago
Albert Liu 191e6b0496 DigitalController: Add option to force as Pop'n Controller 6 years ago
Connor McLaughlin ea9829946d Cheats: Implement D4/D5/D6 code types 6 years ago
Albert Liu f9d2643d98 Controller: Add Analog Joystick support 6 years ago
Albert Liu 3b51b993f3 NeGcon: Add steering axis deadzone setting 6 years ago
Connor McLaughlin b6f871d2b9
JIT optimizations and refactoring (#675)
* CPU/Recompiler: Use rel32 call where possible for no-args

* JitCodeBuffer: Support using preallocated buffer

* CPU/Recompiler/AArch64: Use bl instead of blr for short branches

* CPU/CodeCache: Allocate recompiler buffer in program space

This means we don't need 64-bit moves for every call out of the
recompiler.

* GTE: Don't store as u16 and load as u32

* CPU/Recompiler: Add methods to emit global load/stores

* GTE: Convert class to namespace

* CPU/Recompiler: Call GTE functions directly

* Settings: Turn into a global variable

* GPU: Replace local pointers with global

* InterruptController: Turn into a global pointer

* System: Replace local pointers with global

* Timers: Turn into a global instance

* DMA: Turn into a global instance

* SPU: Turn into a global instance

* CDROM: Turn into a global instance

* MDEC: Turn into a global instance

* Pad: Turn into a global instance

* SIO: Turn into a global instance

* CDROM: Move audio FIFO to the heap

* CPU/Recompiler: Drop ASMFunctions

No longer needed since we have code in the same 4GB window.

* CPUCodeCache: Turn class into namespace

* Bus: Local pointer -> global pointers

* CPU: Turn class into namespace

* Bus: Turn into namespace

* GTE: Store registers in CPU state struct

Allows relative addressing on ARM.

* CPU/Recompiler: Align code storage to page size

* CPU/Recompiler: Fix relative branches on A64

* HostInterface: Local references to global

* System: Turn into a namespace, move events out

* Add guard pages

* Android: Fix build
6 years ago
Connor McLaughlin e374853cf5 HostInterface: Better configuration of custom crosshair/software cursor 6 years ago
Connor McLaughlin 4dc9e10777 HostInterface: Support per-controller-type settings 6 years ago
Albert Liu ee3a96011e Controller: Add NeGcon support 6 years ago
Connor McLaughlin 9539ce032b AnalogController: Show controller number in OSD messages 6 years ago
Connor McLaughlin 95468901f2 AnalogController: Add analog toggle button 6 years ago
Connor McLaughlin 8f82987341 Controller: Add basic PlayStation Mouse support
Still needs capture/relative movement for a better experience.
6 years ago
Connor McLaughlin e6bd6587fd Controller: Add emulation of Namco GunCon 7 years ago
Connor McLaughlin d9ebb975b2 CommonHostInterface: Reimplement controller rumble support
Even better than before, supports separate motor control.
7 years ago
Connor McLaughlin 4b1541087a Controller: Add methods to query buttons/axises for a controller type 7 years ago
Connor McLaughlin cbcb9b02b0 AnalogController: Rumble support 7 years ago
Connor McLaughlin a347b3606e Implement support for analog controllers 7 years ago
Connor McLaughlin 6e18e56089 Controller: Support general axis input events 7 years ago
Connor McLaughlin 32d8b4dc84 Frontend: Dynamic button mapping based on controller type 7 years ago