diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2015-09-23 21:46:54 -0400 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2016-07-12 12:01:01 -0400 |
| commit | 1b80b7ee4a5998784821e278f374c1363e95c7c1 (patch) | |
| tree | ba3d783315bdd255294d7edb7550d36b671a0276 /apps/plugins/lua/lua.make | |
| parent | 4a5f0f8793689edba980a534f94720ae81e2a5db (diff) | |
| download | rockbox-1b80b7ee4a5998784821e278f374c1363e95c7c1.zip rockbox-1b80b7ee4a5998784821e278f374c1363e95c7c1.tar.gz rockbox-1b80b7ee4a5998784821e278f374c1363e95c7c1.tar.bz2 rockbox-1b80b7ee4a5998784821e278f374c1363e95c7c1.tar.xz | |
[WIP] DuckyScript plugin
Allows a DAP to behave like a USB Rubber Ducky by executing DuckyScript files,
which is a BASIC-like language with facilities for sending keystrokes.
A "crash course" on the language can be found at http://71.71.39.6/ducky.txt
This plugin also implements several extensions to vanilla DuckyScript, some of
which are listed below (see source for complete documentation).
- variables (multicharacter names via hash map)
- control flow (JUMP/GOTO, IF) with labels
- expression parsing when a number is needed
- non-decimal bases
- bytecode compilation (on computer only)
The compiler and related tools can be found here:
https://github.com/theunamedguy/ducky
NOTE: Changes some entries in the HID usage tables, but doesn't break anything.
TODO:
- Finish up manual entry
- Further documentation?
- More optimization?
- Arrays (how?)
- TEST, TEST, TEST!
- Some features have only been marginally tested and MIGHT NOT WORK CORRECTLY
- FASTER TYPING!!!
- Currently averages ~96 keys/sec
- Theoretical maximum: 500 keys/sec
- Of interest: G#1223 (http://gerrit.rockbox.org/r/1223/)
Change-Id: I149ecd08ba124f8b8637a002ee2652dd54a44e58
Diffstat (limited to 'apps/plugins/lua/lua.make')
0 files changed, 0 insertions, 0 deletions