Mitmgate
v0.0.0+dev.3
Man in the Middle Keylogger and Injector
Loading...
Searching...
No Matches
Design & Logic Notes
* # HID Parsing Logic
The system uses a 1:1 mapping of HID usage IDs to ASCII.
* ## Modifier Handling
Modifiers are bitwise flags. We check for:
- Left Shift:
0x02
- Right Shift:
0x20
*
* ## The Debounce Algorithm
To prevent "chatter," the
main.c
loop compares the current
hid_keyboard_packet_t
against the
last_packet
. A parse only triggers if the keycode is non-zero
and different from the previous state. */
Generated by
1.16.1