Merge pull request #33 from oldip/feature/numpad-keybindings

Add numpad keybindings to improve non-US input methods
This commit is contained in:
WillyJL
2024-03-19 04:48:01 +00:00
committed by GitHub
2 changed files with 71 additions and 6 deletions

View File

@@ -26,6 +26,12 @@ if (badusb.isConnected()) {
badusb.println("Flipper Name: " + flipper.getName());
badusb.println("Battery level: " + to_string(flipper.getBatteryCharge()) + "%");
// Alt+Numpad method works only on Windows!!!
badusb.altPrintln("This was printed with Alt+Numpad method!");
// There's also badusb.print() and badusb.altPrint()
// which don't add the return at the end
notify.success();
} else {
print("USB not connected");