mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 23:10:22 +00:00
Adding TAB command
This commit is contained in:
parent
33dd256dfb
commit
2bb76e09c6
1 changed files with 5 additions and 1 deletions
|
@ -344,6 +344,10 @@ static bool mj_process_ducky_line(
|
|||
if(!mj_get_ducky_key("SPACE", 5, &dk)) return false;
|
||||
send_hid_packet(handle, addr, addr_size, rate, dk.mod, dk.hid, plugin_state);
|
||||
return true;
|
||||
} else if(strncmp(line_tmp, "TAB", strlen("TAB")) == 0) {
|
||||
if(!mj_get_ducky_key("TAB", 3, &dk)) return false;
|
||||
send_hid_packet(handle, addr, addr_size, rate, dk.mod, dk.hid, plugin_state);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue