mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-08-17 11:51:54 +02:00
logcat.py
This commit is contained in:
@ -38,6 +38,18 @@ public class Keyboard2 extends InputMethodService
|
||||
{
|
||||
if (getCurrentInputConnection() == null)
|
||||
return ;
|
||||
// DEBUG
|
||||
if (_inputView.isHardwareAccelerated())
|
||||
log("LOL isHardwareAccelerated");
|
||||
String k = "Key ";
|
||||
if ((flags & KeyValue.FLAG_CTRL) != 0)
|
||||
k += "Ctrl-";
|
||||
if ((flags & KeyValue.FLAG_ALT) != 0)
|
||||
k += "Alt-";
|
||||
if ((flags & KeyValue.FLAG_SHIFT) != 0)
|
||||
k += "Shift-";
|
||||
log(k + key.getName());
|
||||
// -
|
||||
if (key.getEventCode() == KeyValue.EVENT_CONFIG)
|
||||
{
|
||||
// TODO improve this shit
|
||||
|
Reference in New Issue
Block a user