Hi,
I want to send keyboard keys to change tab i.e CTRL+ALT+TAB, how can I send these keys from the Bluetooth HID keyboard to change tabs on my PC?
Thanks
Hi,
I have seen it and able to send single as well as multiple keys, but I want to perform functions like change window(CTRL+ALT+TAB), close current window(ALT+F4), open task manager(CTRL+ALT+DELETE), etc. I also want to know the HID hex code for CTRL, ALT, and SHIFT.
Thanks
Hi,
CTRL and ALT are sent in first byte of report as modifiers, the first google answer turns here. To send a keypress with CTRL+ALT, add following lines:
#define KEY_MOD_LCTRL 0x01
#define KEY_MOD_LALT 0x04
data[MODIFIER_KEY_POS] |= (KEY_MOD_LCTRL | KEY_MOD_LALT);