[pve-devel] r5402 - vncterm/pve2/tigerpatches

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jan 20 08:26:59 CET 2011


Author: dietmar
Date: 2011-01-20 08:26:59 +0100 (Thu, 20 Jan 2011)
New Revision: 5402

Added:
   vncterm/pve2/tigerpatches/keydebug.patch
Modified:
   vncterm/pve2/tigerpatches/series
Log:
add debug helper


Added: vncterm/pve2/tigerpatches/keydebug.patch
===================================================================
--- vncterm/pve2/tigerpatches/keydebug.patch	                        (rev 0)
+++ vncterm/pve2/tigerpatches/keydebug.patch	2011-01-20 07:26:59 UTC (rev 5402)
@@ -0,0 +1,14 @@
+Index: new/java/src/com/tigervnc/vncviewer/RfbProto.java
+===================================================================
+--- new.orig/java/src/com/tigervnc/vncviewer/RfbProto.java	2011-01-20 08:14:34.000000000 +0100
++++ new/java/src/com/tigervnc/vncviewer/RfbProto.java	2011-01-20 08:19:20.000000000 +0100
+@@ -938,6 +938,9 @@
+ 
+     int keyChar = evt.getKeyChar();
+ 
++    int test = evt.getKeyCode();
++    System.out.println("KEYCODE: " + evt.getKeyText(test));
++ 
+     //
+     // Ignore event if only modifiers were pressed.
+     //

Modified: vncterm/pve2/tigerpatches/series
===================================================================
--- vncterm/pve2/tigerpatches/series	2011-01-19 14:16:13 UTC (rev 5401)
+++ vncterm/pve2/tigerpatches/series	2011-01-20 07:26:59 UTC (rev 5402)
@@ -1,2 +1,3 @@
+#keydebug.patch
 javascript-events.patch
 export-ctrl-alt-delete.patch




More information about the pve-devel mailing list