mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-03 18:12:14 +02:00
Merge pull request #2 from shakkar23/shakkar23-patch-1-1
Update hid.h for writing to SixAxisSensorValues
This commit is contained in:
commit
6ad5cba851
@ -811,6 +811,7 @@ void hidTouchRead(touchPosition *pos, u32 point_id);
|
|||||||
|
|
||||||
void hidJoystickRead(JoystickPosition *pos, HidControllerID id, HidControllerJoystick stick);
|
void hidJoystickRead(JoystickPosition *pos, HidControllerID id, HidControllerJoystick stick);
|
||||||
u32 hidSixAxisSensorValuesRead(SixAxisSensorValues *values, HidControllerID id, u32 num_entries);
|
u32 hidSixAxisSensorValuesRead(SixAxisSensorValues *values, HidControllerID id, u32 num_entries);
|
||||||
|
u32 hidSixAxisSensorValuesWrite(SixAxisSensorValues *values, HidControllerID id, u32 num_entries);
|
||||||
|
|
||||||
/// This can be used to check what CONTROLLER_P1_AUTO uses.
|
/// This can be used to check what CONTROLLER_P1_AUTO uses.
|
||||||
/// Returns 0 when CONTROLLER_PLAYER_1 is connected, otherwise returns 1 for handheld-mode.
|
/// Returns 0 when CONTROLLER_PLAYER_1 is connected, otherwise returns 1 for handheld-mode.
|
||||||
|
Loading…
Reference in New Issue
Block a user