Bug #607
Digital joystick functions do not work in Firefox.
Added by Brian Flanagan over 3 years ago.
Updated over 2 years ago.
Description
I've known about this one for a while, but for some reason had never reported the problem.
Since Firefox has a different implementation of the Gamepad API, the axes are different.
I made an adjustment to the Gamepad/Joystick functions to compensate for this.
- Status changed from New to Resolved
- Status changed from Resolved to Closed
Current issue with firefox using the below code, works ok in chrome,edge,opera,brave
If you move joystick left and right only in firefox it is not correct. (Wrong direction moves it).
..
eg:
#splashScreen:false
#manifest:"aoz"
XLOGO = 10
YLOGO = 50
Actor "pixL", Image$="pixl_logo.png", X=XLOGO, Y=YLOGO
Do
if JLeft(0) Then XLOGO = XLOGO -10
if JRight(0) Then XLOGO = XLOGO +10
Actor "pixL", XLOGO,YLOGO
Wait Vbl
Loop
Also available in: Atom
PDF