Commit Graph

385 Commits

Author SHA1 Message Date
Matthew
a6b84847ac Add Ability to Display MAC 2024-03-28 17:33:57 -04:00
Derek Jamison
a94a1a96ae JS: Add widget module 2024-03-26 23:00:10 -05:00
Derek Jamison
ea9f151213 JS: Add __filepath and __dirpath globals. 2024-03-26 21:09:41 -05:00
MX
ae84992f25 Merge remote-tracking branch 'OFW/dev' into dev 2024-03-25 23:20:46 +03:00
Nikolay Minaylov
84beb9b23e JS CLI command (#3539)
* js command
* made the js command exit when there's an error
* JS CLI: moved to js_app
* JS: abortable cli invocations
* JS: less debug logging in console logs, fix storage descriptor leak in cli

Co-authored-by: Milk-Cool <milan-pl@mail.ru>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-03-26 01:35:38 +09:00
MX
585b7f963d Api Symbols: replace asserts with checks
merge ofw commit
2024-03-25 13:53:32 +03:00
Georgii Surkov
11d7f53854 [FL-3770, FL-3680] HID App improvements and little extra (#3518)
* FL-3680: change capitalisation
* Replace D-Pad graphic
* Fix the bluetooth indicator not showing
* Remove exit confirm scene
* Fix wrong back button durations
* Improve application structure
* Improve mouse clicker view
* Improve mouse jiggler view
* Improve media view
* Improve mouse and media views
* Improve tiktok view
* Reset mouse jiggler state on view exit
* Use alpha in mouse and tiktok views
* Reset mouse left button state on view exit
* Improve button graphics
* Improve mouse graphics

Co-authored-by: あく <alleteam@gmail.com>
2024-03-25 16:00:35 +09:00
MX
aaa7c81f99 js modules updates 2
by Willy-JL
2024-03-23 23:48:55 +03:00
Willy-JL
401ab0da1f JS: Fix badusb.quit() and serial.end() 2024-03-23 20:38:34 +00:00
Willy-JL
c03d3a80bf JS: Add serial.readAny(timeout)
helps with starving js script loop due to reading 1 byte each time
2024-03-23 20:20:12 +00:00
Willy-JL
380038c01d JS: Fix serial expansion bugs, add serial.end() 2024-03-23 20:19:08 +00:00
MX
c323656037 js modules updates
by Willy-JL
2024-03-23 23:18:26 +03:00
Willy-JL
5f3cd77056 JS: Fix textbox bugs, addText() instead of setText(), add emptyText() 2024-03-23 20:14:51 +00:00
Willy-JL
48e37ef0f7 Unlock USB when starting mass storage 2024-03-23 05:32:47 +00:00
Willy-JL
5b63952b12 JS: Add textbox module 2024-03-23 05:15:56 +00:00
Willy-JL
6a5354caca Naming fixes 2024-03-23 05:13:53 +00:00
MX
e0469ae1ed Adding F13-F24 function key support to BadUSB
https://github.com/flipperdevices/flipperzero-firmware/pull/3468/files
2024-03-22 11:26:00 +03:00
Willy-JL
c1cdba49d6 Fix FindMy crash on boot when core2 is broken 2024-03-22 03:30:23 +00:00
Willy-JL
d8a4dde6ef Fix poor firstboot.flag naming 2024-03-21 05:05:20 +00:00
Willy-JL
2f7dfe434b App crash bugfixes
- BLE Spam: Fix icon position
- Hex Viewer: Fix view alloc/free
- Chess: Fix view alloc/free
- UHF RFID: Fix view alloc/free
2024-03-21 04:42:01 +00:00
Willy-JL
8b69bae52c Fix slideshow when previous firmware left it 2024-03-21 03:10:34 +00:00
Willy-JL
d610e20060 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-03-21 02:07:27 +00:00
Gabe
702ab672bb Adding F13-F24 function key support to BadUSB (#3468)
* Adding F13-F24 function key support to BadUSB
* Adding F13-F24 function key support to JS version of BadUSB

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-03-21 06:45:16 +09:00
MX
8c0ba4de9f add icon 2024-03-20 20:17:16 +03:00
MX
7c607abfe6 fix module load 2024-03-20 14:48:54 +03:00
MX
6f560ef210 js updates
by Willy-JL , oldip
2024-03-20 13:13:04 +03:00
Willy-JL
06aea09169 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-03-20 04:18:26 +00:00
あく
acc39a4bc0 Api Symbols: replace asserts with checks (#3507)
* Api Symbols: replace asserts with checks
* Api Symbols: replace asserts with checks part 2
* Update no args function signatures with void, to help compiler to track incorrect usage
* More unavoidable void
* Update PVS config and code to make it happy
* Format sources
* nfc: fix checks
* dead code cleanup & include fixes

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2024-03-19 23:43:52 +09:00
WillyJL
1a2c029ab6 Merge pull request #33 from oldip/feature/numpad-keybindings
Add numpad keybindings to improve non-US input methods
2024-03-19 04:48:01 +00:00
Willy-JL
f48848ca4d JS: Add BadUSB Alt+Numpad example 2024-03-19 04:45:54 +00:00
Willy-JL
1bf0d3ab9a JS: Improve badusb.altPrint() robustness 2024-03-19 04:41:12 +00:00
Willy-JL
385fe4b4e6 JS: Add header text to REPL interactive console 2024-03-19 01:55:21 +00:00
Willy-JL
4bd511c214 JS: Fix view dispatcher and header text bugs 2024-03-19 01:54:59 +00:00
oldip
4d1678a99a Improve ALT+Numpad typing simulation with adjustable delay AND Testing Completed 2024-03-18 23:14:06 +08:00
oldip
88a080c168 Remove the delay 2024-03-18 22:33:19 +08:00
oldip
23033095b1 Correctly defined js_badusb_altPrint function 2024-03-18 22:22:45 +08:00
oldip
eff99a6015 orrectly defined js_badusb_altPrint function 2024-03-18 22:21:15 +08:00
oldip
879d654f70 Function to simulate typing text using ALT key + Numpad ASCII code without adding a newline at the end 2024-03-18 22:15:25 +08:00
oldip
4737c3af8c Function to simulate typing text using ALT key + Numpad ASCII code without adding a newline at the end 2024-03-18 22:14:51 +08:00
oldip
a5a9292aa1 less delay 2024-03-18 22:11:05 +08:00
oldip
dbb0408f99 Construct the numpad key name 2024-03-18 21:56:56 +08:00
oldip
97a5022129 simulating key presses by converting each character to its ASCII code and then inputting it using the ALT+numeric keypad sequence 2024-03-18 21:52:50 +08:00
oldip
1bee1c7749 modify delay to 200ms 2024-03-18 19:08:13 +08:00
oldip
e09b39fccd add delay 2024-03-18 18:59:48 +08:00
oldip
728ed4d11a rewrite the js_badusb_altPrintln function and fix the missing pointer 2024-03-18 18:45:59 +08:00
oldip
e4b72c003e rewrite js_badusb_altPrintln function 2024-03-18 18:35:12 +08:00
oldip
68746193a0 Fix dynamic construction of NUMPAD keycodes in altPrintln 2024-03-18 16:01:13 +08:00
oldip
fc3a1f28b2 Adjusting the altPrintln functionality to release the ALT key after each character 2024-03-18 15:52:51 +08:00
oldip
e790ffad3a Fix snprintf truncation issue in altPrintln 2024-03-18 15:19:35 +08:00
Willy-JL
03499243a3 JS: Allow pressing back in Submenu 2024-03-17 20:51:42 +00:00