mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-21 23:03:11 +01:00
Disable automatic Shift when pressing Compose
This commit is contained in:
parent
237c4e2cc2
commit
23097921cf
@ -60,10 +60,10 @@ public final class KeyEventHandler
|
|||||||
{
|
{
|
||||||
if (key == null)
|
if (key == null)
|
||||||
return;
|
return;
|
||||||
|
// Stop auto capitalisation when pressing some keys
|
||||||
switch (key.getKind())
|
switch (key.getKind())
|
||||||
{
|
{
|
||||||
case Modifier:
|
case Modifier:
|
||||||
// Stop auto capitalisation when activating a system modifier
|
|
||||||
switch (key.getModifier())
|
switch (key.getModifier())
|
||||||
{
|
{
|
||||||
case CTRL:
|
case CTRL:
|
||||||
@ -73,6 +73,9 @@ public final class KeyEventHandler
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case Compose_pending:
|
||||||
|
_autocap.stop();
|
||||||
|
break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user