'Interaction with the bezel in custom keyboard doesn't work
I'm trying to create a keyboard with the feature to change layouts using the bezel (similar feature is in the standard Samsung keyboard). The problem is that handling the rotation event doesn't work at all.
What I've tried:
- Web:
rotarydetentevent isn't caught by the listener. It's funny that when testing on the emulator, even checking for the bezel rotating capability returns false, but on a target device same returns true and still not working - .NET:
IRotaryEventReceivercorrectly implemented doesn't work either.
I'm sure I'm doing everything right cause that code works fine in non-IME applications. It feels like it's intentionally blocked and documentation doesn't mention it.
So far, I've found only one explanation (here) that can be correct:
The problem is that the bezel rotation is working on the application "under" the keyboard and not on the keyboard itself.
Has anyone else come across this and found a solution?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
