Documentation |
public interface KeyboardConstants // For Flags // Note: These bits will control impending // NIO Keyboard Channel MAX_KEYS // Default 512; KEY_LISTENER_LOADED EXIT KB_ENA ECHO REMOTE_ECHO REMOTE_ENA // HyperKeyEvent flag bits public final static byte PRESSED = 0x01; public final static byte RELEASED = 0x02; public final static byte TYPED = 0x04; public final static byte REMOTE_IN = 0x08; public final static byte REMOTE_OUT = 0x08; // Enable All Keyboard IO KB_DISABLE = ~(KB_ENA|REMOTE_ENA|ECHO|REMOTE_ECHO); KB_ENABLE = (KB_ENA|REMOTE_ENA|ECHO|REMOTE_ECHO); ECHO_MODES[]= { KB_DISABLE, // 0 All Remote & Local Keyboard IO Off KB_ENABLE, // 1 All Remote & Local KeyBoard IO On REMOTE_ENA|REMOTE_ECHO, // 2 Just Remote With ECHO REMOTE_ENA, // 3 Just Remote No Echo (KB_ENA|ECHO), // 4 Just Local With Echo KB_ENA // 5 Just Local With No Echo }; } |