c82e6dc810
core/hid: Cancel any vibration after the test
2021-12-16 13:35:15 -06:00
d6ae9c68f8
service/hid: Implement SetNpadJoyAssignmentMode
2021-12-05 16:18:23 -06:00
7fe455e42e
core/hid: Ensure only valid npad are connected
2021-12-04 23:20:18 -06:00
322339a5fd
npad: Return NpadButton in GetAndResetPressState
...
We were previously truncating this to a u32 as there were no known buttons that used the full 64 bits of this type. Fix this now that we know they are used.
2021-11-29 19:21:51 -05:00
410df5446e
general: Fix handheld typo
2021-11-29 17:22:59 -05:00
51df96b7c0
settings: Add debug setting to enable all controllers
2021-11-27 20:24:37 -06:00
23bf2e3bb6
service/hid: Finish converting LIFO objects and address some nits
2021-11-24 20:30:29 -06:00
42949738f2
kraken: Address comments from review
...
Fix compiler bug
2021-11-24 20:30:28 -06:00
f4e5f89e6f
core/hid: Improve accuary of mouse implementation
2021-11-24 20:30:28 -06:00
654d76e79e
core/hid: Fully implement native mouse
2021-11-24 20:30:28 -06:00
b673857d7d
core/hid: Improve accuracy of the keyboard implementation
2021-11-24 20:30:28 -06:00
7fcfe24a3e
core/hid: Fix keyboard alignment
2021-11-24 20:30:28 -06:00
71f9b90dd9
core/hid: Remove usage of native types, fix a couple of errors with motion
2021-11-24 20:30:28 -06:00
e7eee36d52
service/hid: Remove includes of core.h and settings.h
2021-11-24 20:30:27 -06:00
b21fcd9527
service/hid: Add support for new controllers
2021-11-24 20:30:27 -06:00
5d0f3540c4
core/hid: Rename NpadType to NpadStyleIndex
2021-11-24 20:30:27 -06:00
77fa4d4bf6
second commit lion review
2021-11-24 20:30:26 -06:00
2b1b0c2a30
kraken: Address comments from review
...
start lion review
2021-11-24 20:30:26 -06:00
2d3a63b289
core/hid: Update structs to 13.1.0
2021-11-24 20:30:26 -06:00
064ddacf49
core/hid: Rework battery mappings
2021-11-24 20:30:26 -06:00
f01dac3bf9
service/hid: Fix memory allocated incorrectly
2021-11-24 20:30:25 -06:00
b564f024f0
Morph review first wave
2021-11-24 20:30:25 -06:00
e2e5f1beaf
service/hid: Match shared memory closer to HW
2021-11-24 20:30:25 -06:00
b5e72de753
kraken: Address comments from review
...
review fixes
2021-11-24 20:30:25 -06:00
95cf66b655
service/hid: Use ring buffer for gestures
2021-11-24 20:30:25 -06:00
85052b8662
service/hid: Fix gesture input
2021-11-24 20:30:25 -06:00
601ac43495
core/hid: Only signal when needed
2021-11-24 20:30:24 -06:00
4d308fd0b4
hid: Fix controller connection/disconnection
2021-11-24 20:30:24 -06:00
06a5ef5874
core/hid: Add output devices
2021-11-24 20:30:24 -06:00
c87ad2d0d6
service/hid: Rewrite npad to use ring lifo and the emulated controller
2021-11-24 20:30:24 -06:00
a2ad5762e6
service/hid: Update console sixaxis to the emulated console
2021-11-24 20:30:24 -06:00
800a66d25a
service/hid: Update mouse and keyboard to use ring lifo and the emulated device
2021-11-24 20:30:24 -06:00
afe2d667d9
service/hid: Update touch and gestures to use ring lifo and the emulated console
2021-11-24 20:30:24 -06:00
072559dede
service/hid: Update debug pad, xpad, stubbed and controller base to use ring lifo and the emulated controller
2021-11-24 20:30:23 -06:00
6e2c84042d
settings: Cleanup settings
2021-11-24 20:30:23 -06:00
7c4b6aab2e
core: Remove unused includes
2021-11-03 21:42:57 -04:00
e401c77351
service/hid: Update to 13.0.0
2021-09-26 19:45:47 -05:00
a7bbd37f81
hid: Stub SetTouchScreenConfiguration
2021-09-10 12:24:28 -05:00
6c6e730e9a
hle: service: hid: npad: Remove unused kernel reference.
2021-07-20 18:54:56 -07:00
015058fadf
hle: service: Add a helper module for managing kernel objects.
2021-07-20 18:54:55 -07:00
ed5f1a45b7
npad: Disable vibration check if disabled
2021-07-10 20:06:07 -05:00
15cc561d12
npad: Fix data race when updating devices
...
Add a lock to avoid data races.
This reduces the number of -fsanitize=thread errors significantly.
2021-06-22 03:16:21 -03:00
5554de3933
touchscreen: Make use of common point struct
2021-05-28 08:15:22 -04:00
8171ad65cd
common: Extract point into a common struct
...
This is generic enough that it can be moved into the Common class for
reuse.
2021-05-28 08:12:49 -04:00
44556dc21a
hid/gesture: Factor out last gesture retrieval into its own function
...
Deduplicates a commonly repeated expression.
2021-05-18 03:59:44 -04:00
a9d8e24e47
hid/gesture: Ensure all ID arrays are initialized
...
Makes for deterministic initial state.
2021-05-18 03:39:21 -04:00
74f30c0223
hid/gesture: Make Point a template
...
We can now use this in a generic context to reuse it with the finger
position.
2021-05-18 03:39:18 -04:00
20699e90fa
hid/gesture: Replace x,y members of GestureState with a Point
...
Simplifies assignments.
2021-05-18 03:32:42 -04:00
2f1ef3910b
hid/gesture: Add default comparators to Point
...
Simplifies some comparisons.
2021-05-18 03:32:42 -04:00
60831eabd9
hid/gesture: Rename Points to Point
...
This only represents a single point
2021-05-18 03:32:38 -04:00