Exemple #1
0
        protected override void handleKey(eKey key, eKeyValue keyValue)
        {
            layout.updateState(key, keyValue);
            char c = layout.keyChar(key);

            handler.keyEvent(key, keyValue, c, layout.state);
        }
Exemple #2
0
        protected override void handleKey(eKey key, eKeyValue keyValue)
        {
            layout.updateState(key, keyValue);

            char c = layout.keyChar(key);

            if (0 != c)
            {
                Console.WriteLine("KeyChar: {0} {1} {2} {3}", charString(c), key, keyValue, time);
            }
            else
            {
                Console.WriteLine("Key: {0} {1} {2}", key, keyValue, time);
            }
        }