How to fix uTasker send keystrokes bug?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to fix uTasker send keystrokes bug?

640件の閲覧回数
alresarena
Contributor III

How to fix uTasker send keystrokes bug?

The uTasker USB HID Keyboard is sending unknown characters on PC.

the Keyboard polling is 1ms.

0 件の賞賛
返信
1 返信

544件の閲覧回数
mjbcswitzerland
Specialist V

Alres

1. The HID keyboard driver sends characters as defined by the input passed to it in its queue. If unknown characters are displayed it may be that those passed to the queue are not supported.
2. Each character is converted to a key code using the routine
static void fnInsertUSBKeyCode(CHAR cInputCharacter, unsigned char ucKeyboardState[8])
which takes the new value (cInputCharacter) and puts its key code into the ucKeyboardState[] array.

Note that this supports "typical" ASCII input but if unsupported characters are received it will not code them and leave the input buffer with 0x00.
See in that routine:
    else {
        return;                                                          // others are not yet supported
    }

If you have unusual input you will need to add a key code for it.

Therefore, first identify whether you are passing the expected data to the queue and then whether there is some input for which key codes are not present.

Regards

Mark

0 件の賞賛
返信