mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Use the better api for linux controller support and include it in the auto builds.
This commit is contained in:
parent
e9513d4733
commit
282ac22a46
5 changed files with 354 additions and 203 deletions
|
|
@ -232,8 +232,9 @@ GAMEPAD_API GAMEPAD_BOOL GamepadTriggerReleased(GAMEPAD_DEVICE device, GAMEPAD_T
|
|||
* \param device The device to update.
|
||||
* \param left Left motor strengh (0 to 1).
|
||||
* \param right Right motor strengh (0 to 1).
|
||||
* \param rumble_length_ms rumble time in ms (0 = unlimited).
|
||||
*/
|
||||
GAMEPAD_API void GamepadSetRumble(GAMEPAD_DEVICE device, float left, float right);
|
||||
GAMEPAD_API void GamepadSetRumble(GAMEPAD_DEVICE device, float left, float right, unsigned int rumble_length_ms);
|
||||
|
||||
/**
|
||||
* Query the position of an analog stick as raw values.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue