OSDN Git Service

Add comment.
authorJames Teh <jamie@jantrid.net>
Thu, 10 Jan 2013 04:44:52 +0000 (14:44 +1000)
committerJames Teh <jamie@jantrid.net>
Thu, 10 Jan 2013 04:44:52 +0000 (14:44 +1000)
source/brailleDisplayDrivers/baum.py

index 2bdf78d..ea68b79 100644 (file)
@@ -265,6 +265,7 @@ class InputGesture(braille.BrailleDisplayGesture, brailleInput.BrailleInputGestu
                for group, groupKeysDown in keysDown.iteritems():\r
                        if group == BAUM_BRAILLE_KEYS and len(keysDown) == 1 and not groupKeysDown & 0xfc:\r
                                # This is braille input.\r
+                               # 0xfc covers command keys. The space bars are covered by 0x3.\r
                                self.dots = groupKeysDown >> 8\r
                                self.space = groupKeysDown & 0x3\r
                        if group == BAUM_ROUTING_KEYS:\r