Project

General

Profile

Bug #607

Digital joystick functions do not work in Firefox.

Added by Brian Flanagan over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Target version:
-
Start date:
12/06/2020
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

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.

#1

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Resolved
#2

Updated by Brian Flanagan almost 3 years ago

  • Status changed from Resolved to Closed

Verified working!

#3

Updated by malcolm harvey over 2 years ago

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