Jump to content

Joystick Demo - something is missing


morad
 Share

Recommended Posts

I'm working with the joystick demo for the Xbox 360 and it seems like all the stick commands are about angles:

 

joystick.GamepadStickXY- gives a value from -32767 to + 32767 when down/up is 0

joystick.GamepadStickNormXY- same as the above but with values from -1 to 1

joystick.GamepadStickAngle - same thing from -pi to +pi

joystick.GamepadStickDir - just up/down/left/right

 

there is nothing about the stick input size?

that way when your insert a precise down/up input you get no movement.

something is missing.

Link to comment
Share on other sites

Hi morad

this demo is not an exhaustive joystick demo, it is based on dxinput code which expose some functions that (imo) are sufficient for driving a joystick through lua code, now if you want more functions (don't know what means input size)

you are free to put your own.

AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...