nimble0 / dotterel

Dotterel is a free, open source program that provides the ability to use stenographic input on the Android platform.
GNU General Public License v2.0
85 stars 6 forks source link

Can Dotterel identify as external keyboard #31

Closed zenmetsu closed 1 year ago

zenmetsu commented 1 year ago

Hello!

I realized that attempting to use certain programs, such as Discord, results in unexpected behavior when sending Enter. These apps are configured to send SHIFT-ENTER when an on-screen keyboard is used so as to permit a user to enter multi-line text, after which the message is sent via a button on-screen.

Unfortunately, this behaviour is highly disruptive. One can bind R-R to return and R*R to shift-return, but as long as Dotterel presents itself as an on-screen input device, these apps will treat return differently.

Is this something that can be changed, possibly as a toggle within the configs?

nimble0 commented 1 year ago

I don't quite understand what you mean. Can you express this in the form:

I don't think Android has any concept of an external keyboard IME. There is an IME:EDITOR_ACTION command described here https://github.com/nimble0/dotterel/wiki/Dotterel-commands which might be of use to you.

zenmetsu commented 1 year ago

I will close this as it is invalid. It turns out that the applications that I am attempting to use are treating both hardware devices and software identically.