mracko / MSFS-Mobile-Companion-App

Mobile Companion App for MSFS 2020
GNU Affero General Public License v3.0
362 stars 39 forks source link

Feature Request: Keyboard bindings #13

Open jamescl604 opened 3 years ago

jamescl604 commented 3 years ago

Ask : implement a way to navigate the app using the keyboard. I know the primary use case is using the app from a mobile device so this might not be a priority scenario but I thought I'd mention the scenario I'm aiming to use it for.

Use case: I'm trying to enable the ability to use Voice Attack with your app to set the Navigation and Com radios (would be cool for other UI options too but these were the main ones I'm after). Voice Attack can issue keyboard commands and most of all the things in the SIM you can do with existing msfs keyboard controls, except enter in Nav, Heading, and Com settings directly (which your app can do). If those UI elements in the app could be controlled via keyboard commands, those scenarios would possible to control via voice (i.e. "set Nav1 to 111.5" > would trigger these steps from Voice Attach to the app : go to Nav tab > set Direct Input > Select Nav1 > Enter 111.1 > Set)

mracko commented 3 years ago

Thanks for the tip! I don't have Voice Attack so it'll be hard for me to test it, however, I can have a look at it. The problem that I see is the following: How to tell Voice Attack to initiate a command on a specific text box in a browser?

It'll be great if you could send me some documentation or maybe some links with existing implementations. I doubt we're the first who came up with such an idea.