summaryrefslogtreecommitdiff
path: root/area_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-26 23:12:48 -0400
committerPietro Gagliardi <[email protected]>2014-03-26 23:13:31 -0400
commit45cd12cccfc4c86d14d944502fe412cde93ab77b (patch)
tree6c6c382344504f44c5d5d3fdef68d5982d946c09 /area_unix.go
parentf5084c07d453242ebfda1da669152e1af0a3f3b0 (diff)
Printed the hardware_keycode on GTK+ Area key events... something came up so I think I might be able to do what I originally wanted to do with keyboards... also more TODOs.
Diffstat (limited to 'area_unix.go')
-rw-r--r--area_unix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/area_unix.go b/area_unix.go
index 36a7eb8..2c3a0dc 100644
--- a/area_unix.go
+++ b/area_unix.go
@@ -179,6 +179,7 @@ func doKeyEvent(event *C.GdkEvent, data C.gpointer, up bool) bool {
var ke KeyEvent
e := (*C.GdkEventKey)(unsafe.Pointer(event))
+fmt.Println("$$", up, e.hardware_keycode)
s := (*sysData)(unsafe.Pointer(data))
keyval := e.keyval
if extkey, ok := extkeys[keyval]; ok {