Home › Forums › Programming › SOLVED: Keyboard/mouse controls for apps in mobile browser?
- This topic has 4 replies, 1 voice, and was last updated 1 month, 3 weeks ago by
c4cc.
-
AuthorPosts
-
2025-10-01 at 1:07 pm #84845
c4ccCustomerFor mobile devices (phones, tablets) to play this game on mobile browsers, how do I enable keyboard use for?
Will javascript for pc/laptop keyboard/mouse input apply for mobile devices?
Another problem is, Virtual Keyboard API is only available on chrome and edge.
As I have released my trial browser game, if JavaScript for keyboard/mouse user input is also applicable to mobile devices as well, which JavaScript for mouse/keyboard is applicable to most, if not all major mobile web browsers like chrome, edge, firefox?
How do I activate keyboard/mouse for apps when the webpage is accessed on mobile devices like phones or tablets?
-
This topic was modified 1 month, 3 weeks ago by
c4cc.
FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e
2025-10-02 at 4:30 pm #84857
c4ccCustomerWill using feature available for android or mobile device enable keyboard inputs on such devices?
FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e
2025-10-03 at 9:59 am #84870
c4ccCustomerIf this webpage is accessed via mobile devices like phones, tablets, etc, I need to trigger the mobile browser keyboard via tapping an element until that element is either tapped again, or the webpage is reset.
<button id="fullscreenBtn">fullscreen</button> <iframe id="myIframe" src="scene2.html" width="600" height="400"></iframe>I need that mobile browser keyboard to interract with the iframe on the html page, since that iframe is a mobile browser game.
FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e
2025-10-03 at 10:01 am #84871
c4ccCustomerwhen the app is loading, sometimes, I press fullscreen icon, and when the app finishes loaded in fullscreen, then it’s slow. I notice this recently happens in Firefox and Edge
AFAIK google chrome and opera don’t have this problem, when triggering fullscreen during loading, app runs as intended without being slow
-
This reply was modified 2 months ago by
c4cc.
FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e
2025-10-14 at 7:42 pm #84974
c4ccCustomerOn second thought guys, as my recent updates now has such a feature here’s how I solved the problem ATM:
puzzles for general movement mechanics
puzzles/javascript to detect fullscreen mode triggered before game loadspuzzles for general movement mechanics
movement speed stats depending on fullscreen or not, for desktop. Only mobile devices fullscreen speed stats are here.

Touchscreen controls for game screen
The HTML/CSS interface in game screen:

puzzles for game speed stats – normal window

HTML controls for game window
puzzles for game speed stats – normal window

FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e
-
This topic was modified 1 month, 3 weeks ago by
-
AuthorPosts
- You must be logged in to reply to this topic.






