You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be way too much of an edge case for anyone else to have run into it but...
I'm working with a webapp on Chrome that makes use of a Bluetooth controller, each key mapped to normal keyboard keys (w, a, s, d) as shortcuts. I'm having an issue on Android. It appears that when the virtual keyboard appears on screen, focus is lost until I interact with something else in the OS and then return to the browser. It can be as simple as hitting my hardware Menu button or pulling down the system settings menu at the top of the page. I know that it's not an issue with my controller because as long as I am focused on a form element, my keypresses register normally; however, my shortcuts do not.
I'm registering my shortcuts in what might be a heavy-handed way:
Perhaps that has something to do with it? I unfortunately am not too sure how to begin troubleshooting this, but I appreciate any suggestions. This allows my keypresses to work without having to focus anywhere on the page. It's working great on both Mac and Ubuntu, Android is the only problem due to the nature of the virtual keyboard.
The text was updated successfully, but these errors were encountered:
This might be way too much of an edge case for anyone else to have run into it but...
I'm working with a webapp on Chrome that makes use of a Bluetooth controller, each key mapped to normal keyboard keys (w, a, s, d) as shortcuts. I'm having an issue on Android. It appears that when the virtual keyboard appears on screen, focus is lost until I interact with something else in the OS and then return to the browser. It can be as simple as hitting my hardware Menu button or pulling down the system settings menu at the top of the page. I know that it's not an issue with my controller because as long as I am focused on a form element, my keypresses register normally; however, my shortcuts do not.
I'm registering my shortcuts in what might be a heavy-handed way:
Perhaps that has something to do with it? I unfortunately am not too sure how to begin troubleshooting this, but I appreciate any suggestions. This allows my keypresses to work without having to focus anywhere on the page. It's working great on both Mac and Ubuntu, Android is the only problem due to the nature of the virtual keyboard.
The text was updated successfully, but these errors were encountered: