<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/apps/plugins/ducky/main.c, branch working</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>[WIP] DuckyScript plugin</title>
<updated>2016-07-12T16:01:01+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2015-09-24T01:46:54+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1b80b7ee4a5998784821e278f374c1363e95c7c1'/>
<id>1b80b7ee4a5998784821e278f374c1363e95c7c1</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
