Commit Graph

79 Commits

Author SHA1 Message Date
yellows8
f727aa669a Added the remaining (pre-4.0.0) hid-serv vibration cmds. 2018-04-19 15:17:22 -04:00
yellows8
213676c5f8 Added hidGetHandheldMode(). 2018-03-15 22:24:52 -04:00
yellows8
5e9869cc41 Added hidSendVibrationValues(). Improved hidInitializeVibrationDevices(), including changing the HidControllerLayoutType param to HidControllerType. 2018-03-14 21:47:21 -04:00
plutoo
a102c64341 Introduce atomics.c, refcounting on all services 2018-03-10 14:33:40 +01:00
plutoo
d12e99e3ad Move ipc.h to kernel/ 2018-03-10 14:03:29 +01:00
yellows8
d1cefabd12 Renamed hidInitializeVibrationDevice() to hidInitializeVibrationDevices(), and added support for optionally returning 2 handles + other changes. 2018-03-07 01:16:35 -05:00
yellows8
cbaa0e359b Added hidPermitVibration() and hidIsVibrationPermitted(). 2018-03-06 23:38:33 -05:00
yellows8
a3933c7a85 Added hid vibration. 2018-03-06 18:08:57 -05:00
yellows8
e7a4eba71c Added hidSetNpadJoyAssignmentModeSingleByDefault() and hidSetNpadJoyAssignmentModeDual(). Check serviceIsActive() in hidExit(). Use hidSetNpadJoyAssignmentModeDual() for all controllers during hidInitialize()/hidExit(). 2018-03-05 22:37:37 -05:00
plutoo
f4230f3ef0 Fix race condition in hid 2018-03-01 00:15:01 +01:00
shinyquagsire23
954a48b8fe Add hidMouseRead, allows mouse position/velocity/scrollwheel velocity to be fetched 2018-02-22 06:48:00 +01:00
fincs
c20d372946 Clean up types.h:
- Move Permission to kernel/svc.h (also fix enum naming)
- Add s128, vu128, vs128
- voidfn -> VoidFn
2018-02-10 22:40:11 +01:00
plutoo
6fa8370bfb This looks better 2018-01-22 20:11:55 +01:00
TuxSH
5abc4873d8 Include only what is really necessary...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00
plutoo
e54bbc54ea Fix codestyle for results 2018-01-21 18:40:23 +01:00
shinyquagsire23
368fbbb570 hid: joystickPosition -> JoystickPosition 2018-01-20 10:37:47 +01:00
shinyquagsire23
52e928df0e hid: circlePosition -> joystickPosition 2018-01-20 10:37:47 +01:00
shinyquagsire23
a4dbd93b1f hid: Add hidJoystickRead 2018-01-20 10:37:47 +01:00
yellows8
3a9451bbeb Added CONTROLLER_P1_AUTO. Added bounds checking for id in hid{Set|Get}ControllerLayout. 2018-01-19 13:58:32 -05:00
plutoo
f70d70f029 Introducing "Service" object, implemented service override, fixing minor formatting mistakes
NOT TESTED :(
2018-01-12 23:29:49 +01:00
plutoo
fd4522423b Hid stylefix 2018-01-11 22:29:16 +01:00
plutoo
7482c849fe Introducing RwLock, make hid threadsafe 2018-01-11 22:25:49 +01:00
plutoo
bf89c7526e Rename ipc functions before it's too late 2018-01-11 21:56:04 +01:00
shinyquagsire23
63f91dd215 Add hidTouchCount, hidTouchRead, KEY_TOUCH. Header tweaks. 2017-11-22 17:09:37 -07:00
shinyquagsire23
aa458e59f9 Add hidGetControllerLayout 2017-11-22 17:09:32 -07:00
shinyquagsire23
ffd10708ac Variable name adjustment, fixes, clarifications 2017-11-20 12:07:50 -07:00
shinyquagsire23
0f24d05077 Brace consistency 2017-11-20 02:53:09 -07:00
shinyquagsire23
fc71b06161 Implement HID keys held/down/up 2017-11-20 02:17:30 -07:00
yellows8
d62b909757 Added hid. 2017-10-27 17:10:48 -04:00