Hi,
The hardware keys simply map to standard keys on a PC keyboard.
Do something like this:
def on_key(src, ev):
keyval = ev.keyval
key = gtk.gdk.keyval_name(keyval)
if (key == "Escape"):
do_ something()
elif (key == "F6"): # fullscreen button
do_something()
elif (key == "F7"):
do_something() # + button
elif (key == "F8"):
do_something() # - button
win = hildon.Window()
win.connect("key-press-event", on_key)
Cheers,
Martin
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers