Commit graph

158 commits

Author SHA1 Message Date
Martino Fontana
ef46437605 input_common: set SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to 0
This allows to share the mappings between Nintendo and non-Nintendo controllers.
Breaks the controller configuration for existing users who are using a Nintendo controller.

(Documentation of the hint 92b3c53c92/include/SDL_hints.h (L512-L532))
2023-07-07 21:59:47 +02:00
Narr the Reg
0bb27e9606 input_common: Avoid potential division by zero 2023-07-05 17:42:16 -06:00
liamwhite
8de8e16d8a Merge pull request #10950 from german77/mouse_tune
input_common: Tune mouse controls
2023-07-01 22:38:01 -04:00
german77
921f9baf58 yuzu: Ensure mouse panning can't be enabled with real mouse emulation 2023-06-30 18:59:39 -06:00
Narr the Reg
3241ff028c input_common: Tune mouse controls 2023-06-28 21:04:33 -06:00
german77
38b68d1783 input_common: Remove duplicated DriverResult enum 2023-06-28 09:49:47 -06:00
liamwhite
4696a032a8 Merge pull request #10495 from bm01/master
input_common: Redesign mouse panning
2023-06-27 11:21:28 -04:00
liamwhite
f91cc2c72f Merge pull request #10679 from zeltermann/wakelock-reason
Only use SDL wakelock on Linux
2023-06-27 11:21:20 -04:00
german77
b16b2a486b input_common: Make use of new SDL features 2023-06-24 17:42:56 -06:00
zeltermann
377ffa277c Only use SDL wakelock on Linux
SDL has internally fixed shenanigans related to wakelocking through DBus
from inside sandboxes from around August 2022, so we can now remove the
workaround we used since 2021.
2023-06-24 14:51:41 +07:00
Narr the Reg
b24451c571 input_common: Implement native mifare support 2023-06-21 17:54:58 -06:00
Narr the Reg
4a5f56645a input_common: Add amiibo with originality signature support 2023-06-15 18:22:13 -06:00
Baptiste Marie
83f4158d6c input_common: Redesign mouse panning 2023-06-12 00:47:52 +02:00
bunnei
122ff50c1a input_common: Fix virtual amiibos 2023-06-03 00:06:06 -07:00
bunnei
04eabc45e5 android: Various fixes for CI. 2023-06-03 00:06:05 -07:00
Narr the Reg
9d11e03d61 android: Implement amiibo reading from nfc tag 2023-06-03 00:05:48 -07:00
Narr the Reg
38b030ac58 android: Add motion sensor 2023-06-03 00:05:30 -07:00
Narr the Reg
60ba48c5e2 input_common: Implement amiibo writting 2023-05-21 21:09:20 -06:00
Narr the Reg
e0d140581b input_common: Fix pro controller amiibo support 2023-05-16 18:37:22 -06:00
marius david
f5827baefe Improve emulation of HD Rumble 2023-05-05 19:30:40 +02:00
Valeri
d359ae51a3 input_common: minor fix to mouse movement 2023-04-14 21:27:35 +03:00
german77
59f50daf74 input_common: sdl: Only send last vibration command 2023-03-12 21:30:02 -06:00
Liam
5be8a74b0c general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
bunnei
4f1ca556e9 Merge pull request #9906 from german77/metroid2
input_common: Increase mouse sensitivity range
2023-03-08 10:43:38 -08:00
Narr the Reg
822a967bca input_common: Minor typo issues (#9922) 2023-03-08 03:15:46 +01:00
german77
db3f4f7515 input_common: Increase mouse sensitivity range 2023-03-07 19:31:52 -06:00
Narr the Reg
76462f79db input_common: Implement dedicated motion from mouse 2023-02-21 21:55:22 -06:00
Narr the Reg
8a7dfb2439 input_common: Split mouse input into individual devices 2023-02-16 14:22:13 -06:00
arades79
60a68839ee remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:39 -05:00
arades79
adcef452e0 add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:33:11 -05:00
Narr the Reg
75039440f3 input_common: Reintroduce custom pro controller support 2023-02-09 20:08:54 -06:00
Narr the Reg
954f7206a6 input_common: joycon: Fill missing enum data 2023-01-29 19:11:46 -06:00
Morph
8be6571a38 input_common: Make use of StoppableTimedWait 2023-01-25 16:43:04 -05:00
Jan Beich
e22bf4d418 input_common: add missing header for libc++ after 13ccfd78bd
src/input_common/drivers/joycon.cpp:187:26: error: no member named 'find_if' in namespace 'std::ranges'
            std::ranges::find_if(left_joycons, [](auto& device) { return !device->IsConnected(); });
            ~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:193:54: error: no member named 'find_if' in namespace 'std::ranges'
        const auto unconnected_device = std::ranges::find_if(
                                        ~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:393:51: error: no member named 'find_if' in namespace 'std::ranges'
        const auto matching_device = std::ranges::find_if(
                                     ~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:402:51: error: no member named 'find_if' in namespace 'std::ranges'
        const auto matching_device = std::ranges::find_if(
                                     ~~~~~~~~~~~~~^
2023-01-25 19:52:56 +00:00
liamwhite
6c7db928fd Merge pull request #9492 from german77/joycon_release
Input_common: Implement custom joycon driver v2
2023-01-24 09:29:37 -05:00
german77
d7950e0cfb input_common: Fix joycon mappings 2023-01-20 00:51:46 -06:00
german77
13ccfd78bd input_common: Address byte review 2023-01-20 00:51:45 -06:00
german77
21a62d4752 input_common: Drop Pro controller support from custom driver 2023-01-19 18:05:22 -06:00
Narr the Reg
91f98f57b3 input_common: Implement joycon ir camera 2023-01-19 18:05:22 -06:00
german77
22eb8ce395 yuzu: Add ring controller test button 2023-01-19 18:05:22 -06:00
german77
5cbeb6f1c4 input_common: Use DriverResult on all engines 2023-01-19 18:05:22 -06:00
german77
82774f546a Address review comments 2023-01-19 18:05:22 -06:00
german77
b40c5ba2c3 input_common: Implement joycon nfc 2023-01-19 18:05:21 -06:00
Narr the Reg
4dc4ae2aac input_common: Add dual joycon support 2023-01-19 18:05:21 -06:00
Narr the Reg
046e95be06 input_common: Add support for joycon input reports 2023-01-19 18:05:21 -06:00
Narr the Reg
59e89afde4 core: hid: Enable pulling color data from controllers 2023-01-19 18:05:20 -06:00
Narr the Reg
216bdb7884 input_common: Disable SDL driver with switch controllers 2023-01-19 18:05:20 -06:00
Narr the Reg
0e41ae9595 input_common: Initial skeleton for custom joycon driver 2023-01-19 18:05:20 -06:00
german77
924d8bf7cc input_common: reset sdl motion if data is invalid 2023-01-18 10:05:55 -06:00
MonsterDruide1
a1bec20a60 TAS: Show all script lengths for multiplayer 2023-01-07 21:15:37 +01:00