Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | input_common: Reduce unused includes | ameerj | 2022-03-20 | 1 | -1/+0 |
| | |||||
* | input_common/input_mapping: Remove const from return value | Lioncash | 2022-01-24 | 1 | -1/+1 |
| | | | | | Top-level const on a return by value can inhibit move semantics, and is unnecessary. | ||||
* | input_common/main: Pass MappingData by const reference in callbacks | Lioncash | 2022-01-24 | 1 | -2/+2 |
| | | | | Avoids creating unnecessary 168 byte copies per callback invocation. | ||||
* | input_common: Fully implement UDP controllers | Narr the Reg | 2021-11-26 | 1 | -5/+21 |
| | |||||
* | input_common: Move button names to the frontend | german77 | 2021-11-25 | 1 | -12/+5 |
| | |||||
* | input_common: Allow keyboard to be backwards compatible | german77 | 2021-11-25 | 1 | -9/+0 |
| | |||||
* | core/hid: Improve accuracy of the keyboard implementation | german77 | 2021-11-25 | 1 | -0/+9 |
| | |||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 1 | -34/+42 |
| | | | | start lion review | ||||
* | settings: Fix mouse and keyboard mappings | german77 | 2021-11-25 | 1 | -0/+3 |
| | |||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 1 | -2/+5 |
| | | | | review fixes | ||||
* | configuration: Migrate controller settings to emulated controller | german77 | 2021-11-25 | 1 | -0/+10 |
| | |||||
* | kraken: Fix errors from rebase and format files | german77 | 2021-11-25 | 1 | -2/+4 |
| | |||||
* | core/hid: Add output devices | german77 | 2021-11-25 | 1 | -10/+20 |
| | |||||
* | input_common: Rewrite main and add the new drivers | german77 | 2021-11-25 | 1 | -11/+279 |
| | |||||
* | input_common: Rewrite keyboard | german77 | 2021-11-25 | 1 | -260/+3 |
| | |||||
* | input_common: Move touch and analog from button. Move udp protocol | german77 | 2021-11-25 | 1 | -8/+0 |
| | |||||
* | general: Update style to clang-format-12 | ameerj | 2021-09-24 | 1 | -2/+2 |
| | |||||
* | UI: Relocate tas menu and add brief description | german77 | 2021-09-18 | 1 | -1/+1 |
| | |||||
* | config: Move TAS options to it's own menu | german77 | 2021-09-18 | 1 | -1/+5 |
| | |||||
* | input_common/tas: Base playback & recording system | MonsterDruide1 | 2021-09-18 | 1 | -0/+48 |
| | | | | | | | | | The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called. The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate. Co-authored-by: Naii-the-Baf <sfabian200@gmail.com> Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com> | ||||
* | input_common: Improve SDL joystick and hide toggle option | german77 | 2021-08-08 | 1 | -4/+4 |
| | |||||
* | input_common: Fix build with sdl disabled | german77 | 2021-07-11 | 1 | -2/+2 |
| | |||||
* | input_common: Implement SDL motion | german77 | 2021-05-15 | 1 | -0/+5 |
| | |||||
* | Merge pull request #4937 from german77/multiUDP | bunnei | 2020-12-01 | 1 | -1/+1 |
|\ | | | | | InputCommon: Add multiple udp server support | ||||
| * | Add multiple udp server support | german | 2020-11-26 | 1 | -1/+1 |
| | | |||||
* | | Implement full mouse support | german | 2020-11-26 | 1 | -10/+63 |
|/ | |||||
* | input_common: Add VibrationDevice and VibrationDeviceFactory | Morph | 2020-11-16 | 1 | -0/+5 |
| | | | | | | A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration. | ||||
* | configure_input_player: Change "Defaults" button behavior | Morph | 2020-11-16 | 1 | -8/+0 |
| | | | | | RestoreDefaults() now restores the selected devices' mappings using UpdateMappingWithDefaults(). This allows us to move the keyboard mapping from RestoreDefaults() to UpdateMappingWithDefaults(). | ||||
* | configure_input_player: Implement input exclusivity and persistence | Morph | 2020-11-16 | 1 | -3/+3 |
| | | | | With this, the "Input Devices" combobox should accurately reflect the input device being used and disallows inputs from other input devices unless the input device is set to "Any". | ||||
* | input_common/CMakeLists: Make some warnings errors | Lioncash | 2020-10-16 | 1 | -0/+4 |
| | | | | | Makes the input_common code warnings consistent with the rest of the codebase. | ||||
* | Add random motion input to keyboard | german | 2020-09-26 | 1 | -0/+4 |
| | |||||
* | Add automap feature for GC adapter | german | 2020-09-18 | 1 | -1/+10 |
| | |||||
* | Add cemu hook changes related to PR #4609 | german | 2020-09-05 | 1 | -3/+43 |
| | |||||
* | Address review comments and fix code compilation | FearlessTobi | 2020-08-29 | 1 | -3/+5 |
| | |||||
* | yuzu: Add motion and touch configuration | FearlessTobi | 2020-08-29 | 1 | -0/+9 |
| | |||||
* | input_common: Eliminate most global state | Lioncash | 2020-08-27 | 1 | -107/+143 |
| | | | | | | | | | | | | | Abstracts most of the input mechanisms under an InputSubsystem class that is managed by the frontends, eliminating any static constructors and destructors. This gets rid of global accessor functions and also allows the frontends to have a more fine-grained control over the lifecycle of the input subsystem. This also makes it explicit which interfaces rely on the input subsystem instead of making it opaque in the interface functions. All that remains to migrate over is the factories, which can be done in a separate change. | ||||
* | input_common/main: Add "/Mouse" to the display name | Morph | 2020-08-27 | 1 | -1/+1 |
| | |||||
* | Address feedback | Morph | 2020-08-26 | 1 | -7/+8 |
| | |||||
* | Project Mjölnir: Part 1 | Morph | 2020-08-26 | 1 | -1/+49 |
| | | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | input_common: drop unused libusb.h include | Ameer | 2020-07-14 | 1 | -1/+0 |
| | | | | Remnant of an early implementation. | ||||
* | Fix unnecessary diffs | Ameer | 2020-07-02 | 1 | -0/+2 |
| | |||||
* | Fix deallocation of GC Adapter | Ameer | 2020-06-23 | 1 | -0/+3 |
| | |||||
* | Update src/input_common/main.cpp | ameerj | 2020-06-22 | 1 | -1/+1 |
| | | | | | | Co-authored-by: LC <mathew1800@gmail.com> update libusb submodule (hopefully windows build error fixed) | ||||
* | Tidy up the pointers, use pair over tuple where appropriate | Ameer | 2020-06-22 | 1 | -2/+1 |
| | |||||
* | shared_ptr for the GC adapter class, constexpr constants | Ameer | 2020-06-22 | 1 | -2/+4 |
| | |||||
* | std::arrays where appropriate, clear q in adapter class, other touch ups | Ameer | 2020-06-22 | 1 | -1/+0 |
| | |||||
* | Singleton GC Adapter class, remove globals, fix naming convention | Ameer | 2020-06-22 | 1 | -0/+2 |
| | | | | | | | | Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command | ||||
* | Cleanup after linter | Ameer | 2020-06-21 | 1 | -4/+0 |
| | |||||
* | GC Adapter Implementation | Ameer | 2020-06-21 | 1 | -1/+22 |
| | |||||
* | input_common: fix build when SDL2 is disabled | FearlessTobi | 2020-05-02 | 1 | -0/+6 |
| | |||||
* | input_common/udp: Ensure that UDP is shut down within Shutdown() | Lioncash | 2020-02-03 | 1 | -0/+1 |
| | | | | Previously the UDP backend would never actually get shut down. | ||||
* | Input: UDP Client to provide motion and touch controls | fearlessTobi | 2020-01-23 | 1 | -3/+9 |
| | | | | | | | | An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com> | ||||
* | Input: Remove global variables from SDL Input | James Rowe | 2019-03-02 | 1 | -19/+4 |
| | | | | | | | | | Changes the interface as well to remove any unique methods that frontends needed to call such as StartJoystickEventHandler by conditionally starting the polling thread only if the frontend hasn't started it already. Additionally, moves all global state into a single SDLState class in order to guarantee that the destructors are called in the proper order | ||||
* | Port #4141 from citra: Joystick hotplug support (#1275) | Tobias | 2018-09-11 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Joystick hotplug support (#4141) * use SDL_PollEvent instead of SDL_JoystickUpdate Register hot plugged controller by GUID if they were configured in a previous session * Move SDL_PollEvent into its own thread * Don't store SDLJoystick pointer in Input Device; Get pointer on each GetStatus call * Fix that joystick_list gets cleared after SDL_Quit * Add VirtualJoystick for InputDevices thats never nullptr * fixup! Add VirtualJoystick for InputDevices thats never nullptr * fixup! fixup! Add VirtualJoystick for InputDevices thats never nullptr * Remove SDL_GameController, make SDL_Joystick* unique_ptr * fixup! Remove SDL_GameController, make SDL_Joystick* unique_ptr * Adressed feedback; fixed handling of same guid reconnects * fixup! Adressed feedback; fixed handling of same guid reconnects * merge the two joystick_lists into one * make SDLJoystick a member of VirtualJoystick * fixup! make SDLJoystick a member of VirtualJoystick * fixup! make SDLJoystick a member of VirtualJoystick * fixup! fixup! make SDLJoystick a member of VirtualJoystick * SDLJoystick: Addressed review comments * Address one missed review comment | ||||
* | Format: Run the new clang format on everything | James Rowe | 2018-01-21 | 1 | -1/+2 |
| | |||||
* | Adding meumart's Citra SDL Joystick support. Citra PR #3116 | muemart | 2018-01-16 | 1 | -0/+11 |
| | |||||
* | move MotionEmu from core/frontend to input_common as a InputDevice | wwylele | 2017-08-11 | 1 | -2/+13 |
| | |||||
* | InputCommon: add SDL joystick support | wwylele | 2017-03-01 | 1 | -0/+10 |
| | |||||
* | InputCommon: add AnalogFromButton | wwylele | 2017-03-01 | 1 | -0/+18 |
| | |||||
* | InputCommon: add Keyboard | wwylele | 2017-03-01 | 1 | -0/+35 |