Danation / SwypeTweaks

Android Xposed module for changing the behavior of the popular keyboard app.
Apache License 2.0
12 stars 6 forks source link

Long Press Enter: Change IME doesn't work anymore #2

Closed francwalter closed 9 years ago

francwalter commented 9 years ago

Hello

since the update of Swype to version 2.0.0.2000050.38944 last week the long press on the Enter key is not anymore usable to change the keyboard. In the SwypeTweaks 1.4 settings: OTHER > Long Press Enter: Change IME (e.g. Google Voice Recognition). Swype has now an own long-press event: popup of choose between enter and emojii, which is good by the way. So a long-press on enter is not anymore hooked by SwypeTweaks. I looked into the code and found in the method "longPressEnterChangeIME" this line:

final int ENTER_CODE = 10;

So could it not just be very easy to change the thing by using the Dragon Button (long press on it) for the change? Don't know the code number for it, though. This would by the way be more intuitive, as it is already a Text-Recognition-Button. It would be necessary then for the user, not to disable it in the Swype settings (where it can be disabled).

At the moment only way to get at least Google voice recognition is the first setting: Google or Dragon? (reboot) but not possible now to set an own keyboard like before.

Thanks for fixing it hopely :)

frank

Danation commented 9 years ago

I'll look into it.

francwalter commented 9 years ago

Dragon Button is code 6463 as netkaion mentioned here in a comment about SwypeTweaks.java So I think this is the best solution.

Danation commented 9 years ago

Ok, I will do that.

Danation commented 9 years ago

Alright, I used the Speech Key (Dragon Button, Microphone Button) as you suggested. Thanks for following up on that.