mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-06-21 10:18:07 +02:00
Don't double tap for capslock after automatic capitalisation
Allow to more easily disable automatic capitalisation when it's unwanted.
This commit is contained in:
parent
42c23d3864
commit
55060f656e
@ -153,7 +153,8 @@ public final class Pointers implements Handler.Callback
|
|||||||
if (latched != null) // Already latched
|
if (latched != null) // Already latched
|
||||||
{
|
{
|
||||||
removePtr(ptr); // Remove dupplicate
|
removePtr(ptr); // Remove dupplicate
|
||||||
if ((latched.flags & FLAG_P_DOUBLE_TAP_LOCK) != 0) // Toggle lockable key
|
// Toggle lockable key, except if it's a fake pointer
|
||||||
|
if ((latched.flags & (FLAG_P_FAKE | FLAG_P_DOUBLE_TAP_LOCK)) == FLAG_P_DOUBLE_TAP_LOCK)
|
||||||
lockPointer(latched, false);
|
lockPointer(latched, false);
|
||||||
else // Otherwise, unlatch
|
else // Otherwise, unlatch
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user