JagandeepBrar / lunasea

Self-hosted software controller built using Flutter

Home Page:https://www.lunasea.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Physical keyboard comes only with the space key into the respective areas

sorryusernameisalreadytaken opened this issue · comments

Describe the Bug
I noticed that when connected physical keyboard, in the android apk only comes into the respective areas with the space key. I would have expected center or enter.

The same happens when you try the following keyevents via adb:
'''
input keyevent 23
input keyevent 66
'''
Only this one works:
'''
input keyevent 62
'''

To Reproduce
Connect a USB Keyboard (perhaps you need a otg-adapter or usb-c to usb-a) to your Android device. Open LunaSea and try to enter a any dialog/options with the enter button.

Expected Behaviour
Enter the area with pressed enter key on keyboard.

Versions
Android apk v10.2.2

Additional context
I have the same problem with center button. I think it would be good when center (normally the middle of a dpad bluetooth remote) and enter can enter into a dialog/options. Solving this problem has been extremely helpful for me to sideload and use the apk on androidTV as well.