abouttreesummaryrefslogcommitdiff
path: root/srcs
diff options
context:
space:
mode:
Diffstat (limited to 'srcs')
-rw-r--r--srcs/juloo.keyboard2/Keyboard2.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java
index d3d03cd..1c22a01 100644
--- a/srcs/juloo.keyboard2/Keyboard2.java
+++ b/srcs/juloo.keyboard2/Keyboard2.java
@@ -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