charliefoxtwo / TouchDCS

An application for interfacing with DCS-BIOS using TouchOSC (or potentially other OSC applications).
GNU General Public License v3.0
35 stars 2 forks source link

Keyboard input #16

Open TipToe08 opened 2 years ago

TipToe08 commented 2 years ago

Hey, I was wondering if it was possible to send keyboard input through touchdcs?

I would love to have a page on TouchOSC with F1-F10, ESC, and a combination of keys (eg: CTRL+L, RIGHT SHIFT+RIGHT CTRL+L).

charliefoxtwo commented 2 years ago

It is not currently possible, though it could make sense as an addition. My focus from the beginning was on two-way communication and since you can't receive keyboard presses through dcs-bios (and I wouldn't feel comfortable telling you to install my software if I was intercepting all of your keyboard presses) I never worked on keyboard support.

What is your use case? I can think of a few, but I just want to know yours in particular since maybe there is another option.

TipToe08 commented 2 years ago

The kneeboard I need would be a one way only, I clearly don't need to receive the command from my computer but only send keystroke to my computer from touchdcs.

I am currently using your software to control my different aircrafts by adding a page per plane with the different shortcut I need. I would also love to have a menu page with the different useful shortcuts to toggle the labels, turn the map on, kneeboard, interact with the atc... If that could be implemented, I wouldn't need my keyboard on my desk while playing and could only my iPad to control everything straight from touchosc.

I hope I have been clear 😅

charliefoxtwo commented 2 years ago

Along those lines, one thing I have been considering is adding support for dx buttons, which you could map in DCS to the same effect.

Another option for you to consider would be something like MATRIC

TipToe08 commented 2 years ago

I did a quick python script that looks for a /keyboard name in the osc message and send this as a keyboard input. So I run your touchdcs alongside my script and is works. I just needed basic F1-f12 with Esc to navigate through the menus while ingame.