<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/firmware/usbstack/usb_hid.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>
<entry>
<title>fix</title>
<updated>2016-06-16T03:13:12+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-16T03:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=43d0ea6dd15cf5f31fe08c76947b686cc8ab77cb'/>
<id>43d0ea6dd15cf5f31fe08c76947b686cc8ab77cb</id>
<content type='text'>
Change-Id: I72d59bb654920b17b031c870f73e8209f9b0cb28
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I72d59bb654920b17b031c870f73e8209f9b0cb28
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'otp' into working</title>
<updated>2016-06-16T03:07:37+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-16T03:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e8206cf46687c0a4fd8a7d125e148773b85fdef7'/>
<id>e8206cf46687c0a4fd8a7d125e148773b85fdef7</id>
<content type='text'>
Change-Id: Ieeaae330e8330189e87ee6726848178d0b9934e7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ieeaae330e8330189e87ee6726848178d0b9934e7
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP plugin: new features, cleanup</title>
<updated>2016-06-16T02:54:39+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-13T21:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=455001103c47b094234bafc909f63c7dac10c95a'/>
<id>455001103c47b094234bafc909f63c7dac10c95a</id>
<content type='text'>
* "Type Code" feature

* Export feature

* Encryption feature (AES128-CTR)

* Refactor menus

* Should be backwards-compatible with old versions

* Some code by Amaury Pouly

* Adds tiny-AES128-c to plugins/lib

* Security might need to be reviewed before merge

Change-Id: Ie333e429364124fda312e1da01730fe516adffa5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* "Type Code" feature

* Export feature

* Encryption feature (AES128-CTR)

* Refactor menus

* Should be backwards-compatible with old versions

* Some code by Amaury Pouly

* Adds tiny-AES128-c to plugins/lib

* Security might need to be reviewed before merge

Change-Id: Ie333e429364124fda312e1da01730fe516adffa5
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: implement blocking receive</title>
<updated>2016-06-14T23:34:08+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-13T21:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=475a26c6f6f723e080cbbb65f45eea5210f324de'/>
<id>475a26c6f6f723e080cbbb65f45eea5210f324de</id>
<content type='text'>
XXX explain why this is useful

Change-Id: I680fc8daf3b97e311dcb05baac8628cee2abf70e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
XXX explain why this is useful

Change-Id: I680fc8daf3b97e311dcb05baac8628cee2abf70e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix</title>
<updated>2016-06-14T22:20:23+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-14T22:20:23+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8da4c695570fc43bc426fd593c570ee937068544'/>
<id>8da4c695570fc43bc426fd593c570ee937068544</id>
<content type='text'>
Change-Id: I0def5ee506bc3c5fff97bcd8f6b3d228f2503822
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0def5ee506bc3c5fff97bcd8f6b3d228f2503822
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP work</title>
<updated>2016-06-14T20:14:06+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-14T20:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=7f4861772b99e73aca7f312f2f3b92acdf9eaa9e'/>
<id>7f4861772b99e73aca7f312f2f3b92acdf9eaa9e</id>
<content type='text'>
Change-Id: I36bf75218e8e032e6dbb67792c4f2ff40ceaadc3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I36bf75218e8e032e6dbb67792c4f2ff40ceaadc3
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: implement blocking receive</title>
<updated>2016-06-13T21:51:17+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-13T21:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8d915599d9af815973ab16990cadea82ae2db0c6'/>
<id>8d915599d9af815973ab16990cadea82ae2db0c6</id>
<content type='text'>
XXX explain why this is useful

Change-Id: I680fc8daf3b97e311dcb05baac8628cee2abf70e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
XXX explain why this is useful

Change-Id: I680fc8daf3b97e311dcb05baac8628cee2abf70e
</pre>
</div>
</content>
</entry>
<entry>
<title>usb PACK_DATA: use a static inline to enable type checking</title>
<updated>2011-12-29T21:58:34+00:00</updated>
<author>
<name>Rafaël Carré</name>
<email>rafael.carre@gmail.com</email>
</author>
<published>2011-12-29T21:58:34+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=4c2126b5a8b0bea04d4c5ba8bee032f9bc0efbe0'/>
<id>4c2126b5a8b0bea04d4c5ba8bee032f9bc0efbe0</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31467 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31467 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
<entry>
<title>usb_hid: fix r31457</title>
<updated>2011-12-29T21:49:29+00:00</updated>
<author>
<name>Rafaël Carré</name>
<email>rafael.carre@gmail.com</email>
</author>
<published>2011-12-29T21:49:29+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6a6269ffd8dfaf921588bae47cd55716abb78abb'/>
<id>6a6269ffd8dfaf921588bae47cd55716abb78abb</id>
<content type='text'>
descriptor_hid_get() updates its parameter so we need to take its address
the update is hidden inside PACK_DATA macro

Fix HID on the Fuze+
Reported by jlbiasini

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31466 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
descriptor_hid_get() updates its parameter so we need to take its address
the update is hidden inside PACK_DATA macro

Fix HID on the Fuze+
Reported by jlbiasini

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31466 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
</feed>
