Other Parts Discussed in Thread: CC2650
Hi,
I am using the hid_emu_kbd_cc2650em_app doing a 4 x 4 BLE Keypad. So, far for my tests I am able to output number 1 - 3. But for Keyboard Letters Q, W, E, R, A, S, D, F, Z, X ,C V there is no output. For testing, I replace the working left and right, with letters G and H. See, code modifications below. But, there is no output at my Laptop PC. I tried several times. The defines HID_KEYBOARD_G and HID_KEYBOARD_H are same at USB HID Usage Tables. This happens at Windows 7 and Windows 10 Laptop PC. Why are there no output? Are the HID values not being recognized?
hidemukbd.c
if (keys & KEY_LEFT)
{
// Key Press.
//HidEmuKbd_sendReport(HID_KEYBOARD_LEFT_ARROW);
HidEmuKbd_sendReport(HID_KEYBOARD_G);
// Key Release.
// NB: releasing a key press will not propagate a signal to this function,
// so a "key release" is reported immediately afterwards here.
HidEmuKbd_sendReport(KEY_NONE);
}
if (keys & KEY_RIGHT)
{
// Key Press.
//HidEmuKbd_sendReport(HID_KEYBOARD_RIGHT_ARROW);
HidEmuKbd_sendReport(HID_KEYBOARD_H);
// Key Release
// NB: releasing a key press will not propagate a signal to this function,
// so a "key release" is reported immediately afterwards here.
HidEmuKbd_sendReport(KEY_NONE);
}
- kel