User Tools

Site Tools


en:tutorials:analog_joystick_gamepad_control

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:tutorials:analog_joystick_gamepad_control [2018/09/22 15:03 (14 months ago)]
sausage
en:tutorials:analog_joystick_gamepad_control [2018/09/26 01:20 (14 months ago)] (current)
Line 92: Line 92:
 In the above code, the ''​LeftRight''​ and ''​UpDown''​ inputs are being checked to see if they are active. If so, get the current speed and the axis position values with ''​orxInput_GetValue''​ and set the proper speed direction value to 150 / the axis the value. The smaller the stick movement, the smaller the object movement. In the above code, the ''​LeftRight''​ and ''​UpDown''​ inputs are being checked to see if they are active. If so, get the current speed and the axis position values with ''​orxInput_GetValue''​ and set the proper speed direction value to 150 / the axis the value. The smaller the stick movement, the smaller the object movement.
  
-It's all pretty simple, ​that'​s ​all there is.+It's all pretty simple
 + 
 +===== Further reading ===== 
 + 
 +{{https://​steamcdn-a.akamaihd.net/​steamcommunity/​public/​images/​clans/​27766192/​f56593e63a2581024b98979658fb2b4e17f8d1a8.jpg?​500x120}} 
 + 
 +Steam have an interesting article on their controller usage metricstools and experiments in controller remapping. 
 + 
 +{{https://​steamcdn-a.akamaihd.net/​steamcommunity/​public/​images/​clans/​27766192/​817181596da53a62e63586af4a3334433e1e818f.jpg?​500x120}} 
 + 
 +This is a different take to Orx'​s ​use of the SDL_GameControllerDB community database. 
 + 
 +You can read the [[https://​steamcommunity.com/​games/​593110/​announcements/​detail/​1712946892833213377|article on Steam here]]. 
en/tutorials/analog_joystick_gamepad_control.txt · Last modified: 2018/09/26 01:20 (14 months ago) (external edit)