More mapping with index for pads

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
threedslider
Enthusiast
Enthusiast
Posts: 377
Joined: Sat Feb 12, 2022 7:15 pm

More mapping with index for pads

Post by threedslider »

Any more support for index with some pads (joystick) as more button this mean LT button and RT button ?

Thanks !
User avatar
STARGÅTE
Addict
Addict
Posts: 2227
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: More mapping with index for pads

Post by STARGÅTE »

I'm not sure what do you mean.
The left bumper (LB) and right bumper (RB), button, is mapped for example on index 5 and 6, JoystickButton().
The left trigger (LT) and right trigger (RT), axis, is mapped on the Z axis, JoystickAxisZ()
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
threedslider
Enthusiast
Enthusiast
Posts: 377
Joined: Sat Feb 12, 2022 7:15 pm

Re: More mapping with index for pads

Post by threedslider »

True you are right ! :D

Neverminds it worked with JoystickAxisZ() for LT and RT !!! ... Sorry about that :oops:

Next time I will test all before to make a word on this forum :?
Post Reply