Mitmgate v0.0.0+dev.3
Man in the Middle Keylogger and Injector
Loading...
Searching...
No Matches
hid_keyboard_packet Struct Reference

The standard 8-byte packet used by USB Keyboards (Boot Protocol). More...

#include <usb_keyboard.h>

Public Attributes

u8 modifier
u8 reserved
u8 keys [6]

Detailed Description

The standard 8-byte packet used by USB Keyboards (Boot Protocol).

Format: [Modifier] [Reserved] [Key1] [Key2] [Key3] [Key4] [Key5] [Key6]

Member Data Documentation

◆ keys

u8 hid_keyboard_packet::keys[6]

Array of up to 6 simultaneous key presses (Usage IDs)

◆ modifier

u8 hid_keyboard_packet::modifier

Modifier keys bitmask (Ctrl, Shift, Alt, GUI)

◆ reserved

u8 hid_keyboard_packet::reserved

Reserved byte (usually 0x00)


The documentation for this struct was generated from the following file: