1
0
Fork 0

Be a bit more careful with the kbd hack ... not that I noticed any problems.

(Proper fix probaly necessary in OSG. On my TODO list.)
This commit is contained in:
mfranz 2008-09-30 20:41:06 +00:00
parent 0a15636bd4
commit 613e693656

View file

@ -9,7 +9,7 @@ var start = func {
listener = setlistener("/devices/status/keyboard/event", func(event) {
var key = event.getNode("key");
if (!event.getNode("pressed").getValue()) {
if (key.getValue() == `;`) # FIXME hack around kbd bug
if (cmd == "" and key.getValue() == `;`) # FIXME hack around kbd bug
key.setValue(`:`);
return;
}