german77
5fae083bc3
core/hid: Ensure only valid npad are connected
2021-12-04 23:20:18 -06:00
Morph
726d16f266
general: Fix handheld typo
2021-11-29 17:22:59 -05:00
german77
b7357d95a7
settings: Add debug setting to enable all controllers
2021-11-27 20:24:37 -06:00
Narr the Reg
7b56b2cab6
input_common: Fully implement UDP controllers
2021-11-26 15:46:36 -06:00
german77
b8b849dc2e
input_common: Move button names to the frontend
2021-11-24 20:30:28 -06:00
german77
99485a06a7
core/hid: Remove usage of native types, fix a couple of errors with motion
2021-11-24 20:30:28 -06:00
german77
ac0154259a
settings: Remove includes of core.h
2021-11-24 20:30:27 -06:00
german77
8517d89be0
core/hid: Rename NpadType to NpadStyleIndex
2021-11-24 20:30:27 -06:00
german77
a8852024b6
settings: Fix Debug controller type options
2021-11-24 20:30:26 -06:00
german77
3cd0dd4227
input_common: Fix UDP uuid
2021-11-24 20:30:26 -06:00
german77
012691087a
core/hid: Rework battery mappings
2021-11-24 20:30:26 -06:00
german77
d1bac9024d
settings: Fix mouse and keyboard mappings
2021-11-24 20:30:25 -06:00
german77
498dd14bc7
yuzu: Fix loading input profiles
2021-11-24 20:30:25 -06:00
german77
88cb39be9f
hid: Fix controller connection/disconnection
2021-11-24 20:30:24 -06:00
german77
66cf94709a
core/hid: Add output devices
2021-11-24 20:30:24 -06:00
german77
28ede3e11a
yuzu: Update frontend
2021-11-24 20:30:23 -06:00
german77
00d3c058c5
input_common: Rewrite keyboard
2021-11-24 20:30:22 -06:00
lat9nq
3aec34df0a
yuzu qt: Remove global system instances from config, WaitTree, main
2021-10-07 13:50:13 -04:00
MonsterDruide1
31068a63a9
input_common/tas: Base playback & recording system
...
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>
2021-09-18 23:22:00 +02:00
german77
32e0572a68
input_common: Improve SDL joystick and hide toggle option
2021-08-07 23:11:23 -05:00
bunnei
18a787b357
Merge pull request #6654 from german77/custom_threshold
...
input_common: Make button threshold customizable
2021-07-21 20:31:33 -04:00
german77
0ccd665a0a
configure/ui: Add sliders for trigger buttons
2021-07-17 13:30:43 -05:00
german77
9e0f89e081
input_common: Make button threshold customizable
2021-07-15 23:56:57 -05:00
german77
f098c2163b
input_common: Support SDL toggle buttons
2021-07-15 14:31:58 -05:00
Kewlan
667c113f10
limitable_input_dialog: Implement character limiter
...
When using GetText() you can now choose what set of characters the user can't enter.
2021-06-06 09:07:55 +02:00
german77
b79310def9
input_common: Implement SDL motion
2021-05-15 08:56:58 -05:00
bunnei
d0933e20e0
Merge pull request #6040 from german77/toggleKeyboard
...
Enable toggle buttons for keyboard and mouse
2021-03-11 11:00:44 -08:00
german77
9c42c9e164
Enable mouse toggle buttons
2021-03-06 13:27:02 -06:00
german
0b24257e2c
Add toggle button option for normal buttons
2021-03-06 07:36:41 -06:00
german
03c81d5e1f
Enable button toggle for keyboard in the modifier button
2021-03-05 19:21:04 -06:00
german77
a380976857
inputCommon: Mouse fixes
2021-02-27 17:53:10 -06:00
german
020c22f53d
hid: Implement GC controller
2021-02-07 22:59:46 -06:00
german
93ac87f29e
Make settings controller image change with controller input
2021-02-06 09:43:41 -06:00
bunnei
f41e6fba60
Merge pull request #5326 from german77/hidUpdate1
...
HID: Update the HID service to match more closely to switchbrew part 1
2021-02-06 02:40:11 -08:00
german
5c9d8e8f39
Fix npad struct to match switchbrew
2021-02-03 20:17:08 -06:00
german
ebf3784c75
Always update handheld config
2021-02-03 17:48:04 -06:00
german
c806340f31
Fix connect and disconnect controller events
2021-01-23 22:59:44 -06:00
german
27dee554d5
Always update configuration for handheld
2021-01-17 18:40:27 -06:00
Morph
dd73d7eb8e
configure_input: Modify controller connection delay
...
Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
2021-01-01 06:39:24 -05:00
german
139222d3a5
Allow to invert analog axis with right click
2020-12-26 17:46:14 -06:00
bunnei
0c0c14ca1e
Merge pull request #4939 from german77/MouseInput
...
InputCommon: Implement full mouse support
2020-11-29 22:59:50 -08:00
german
56a8fee35a
Implement full mouse support
2020-11-25 23:59:30 -06:00
Morph
a8ba5c5929
configure_input_player: Use the npad style set to show the available controllers
...
This will reduce the likelihood of an invalid controller type to be set within a game
2020-11-20 22:22:22 -05:00
Lioncash
8e015472a3
configure_input_player: Use static qualifier for IsProfileNameValid()
...
This is a static member function, so we don't need use an existing
instance to call this function.
2020-11-17 23:12:44 -05:00
Morph
7af3c351ac
configure_input: Accommodate for the mouse input device engine
2020-11-15 23:33:21 -05:00
Morph
23cc14cd09
configure_input: Update the input profiles for other player tabs
2020-11-15 23:33:21 -05:00
Morph
75ee0c94a0
general: Fix compiler warnings on linux and miscellaneous changes
2020-11-15 23:33:21 -05:00
Morph
24cfdbc7fe
sdl_impl: Revert to the "old" method of mapping sticks
...
Not all controllers have a SDL_GameController binding. This caused controllers not present in the SDL GameController database to have buttons mapped instead of axes.
Furthermore, it was not possible to invert the axes when it could be useful such as emulating a horizontal single joycon or other potential cases. This allows us to invert the axes by reversing the order of mapping (vertical, then horizontal).
2020-11-15 23:33:21 -05:00
Morph
f80127d4e0
applets/controller: Change the input button to create input profiles
...
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-11-15 23:33:21 -05:00
Morph
ad45ceeaf0
input: Disconnect a controller prior to connecting a new one
...
Some games do not respond to a change in controller type if 1) The controller is not disconnected prior to being reconnected and/or 2) The controller is reconnected instantly after being disconnected.
Since it is not possible to change controllers instantly on hardware and requiring a disconnect prior to connecting a new one, we should emulate this as well with a small delay, fixing the aforementioned issue.
2020-11-15 23:33:21 -05:00