Hi,<br><br>The hardware keys simply map to standard keys on a PC keyboard.<br>Do something like this:<br><br>def on_key(src, ev):<br> keyval = ev.keyval<br> key = gtk.gdk.keyval_name(keyval)<br> <br> if (key == "Escape"):
<br> do_ something()<br> elif (key == "F6"): # fullscreen button<br> do_something()<br> elif (key == "F7"):<br> do_something() # + button<br> elif (key == "F8"):
<br> do_something() # - button<br><br> <br>win = hildon.Window()<br>win.connect("key-press-event", on_key)<br><br><br>Cheers,<br>Martin<br>