mirror of
git://projects.qi-hardware.com/iris.git
synced 2025-04-21 12:27:27 +03:00
debug stuff
This commit is contained in:
@@ -55,12 +55,20 @@ static void setup ():
|
||||
if state == 2:
|
||||
break
|
||||
Caps caps = __my_memory.create_caps (2)
|
||||
caps.use (slot)
|
||||
Cap kc = __my_receiver.create_capability (KBD, Cap (slot, 1))
|
||||
Cap kc = __my_receiver.create_capability (KBD, Cap (slot, 0))
|
||||
kdebug ("init0: ")
|
||||
caps.print (0)
|
||||
kbd.set_cb (kc)
|
||||
Cap tc = __my_receiver.create_capability (TP, Cap (slot, 0))
|
||||
kdebug ("init1: ")
|
||||
caps.print (0)
|
||||
Cap tc = __my_receiver.create_capability (TP, Cap (slot, 1))
|
||||
kdebug ("init2: ")
|
||||
caps.print (1)
|
||||
tp.set_cb (tc)
|
||||
kdebug ("init3: ")
|
||||
caps.print (1)
|
||||
pwm.call (1)
|
||||
free_slot (slot)
|
||||
|
||||
char const *decode_kbd = "0123456789abcdefghijklmnopqrstuvwxyz!@#$%^&*() T\n[],.-=/\\;|`'UDLREIKBPFZMS{}CA\":"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user