diff options
author | root <root@krebs> | 2011-09-01 02:18:42 +0200 |
---|---|---|
committer | root <root@krebs> | 2011-09-01 02:18:42 +0200 |
commit | 181ee880f53e1b10fce89e74ba429e23382809c1 (patch) | |
tree | 2f0f392274a6794f7962ec9dbd13e719e48ca5f7 /oncology/dpfhack_display/include/usbuser.h | |
parent | cdbc8c537320e3e534694311516ac398ea501600 (diff) | |
parent | 5ad8c950f59472d1d0ad21c13320024889fe2e46 (diff) |
Merge branch 'master' of github.com:/krebscode/painload
Conflicts:
.gitmodules
oncology/dpfhack_display
Diffstat (limited to 'oncology/dpfhack_display/include/usbuser.h')
-rw-r--r-- | oncology/dpfhack_display/include/usbuser.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/oncology/dpfhack_display/include/usbuser.h b/oncology/dpfhack_display/include/usbuser.h deleted file mode 100644 index 618fb601..00000000 --- a/oncology/dpfhack_display/include/usbuser.h +++ /dev/null @@ -1,27 +0,0 @@ -/* USB user commands - * - * Only temporary. Should move to dpflib or into a dclib configuration. - * - */ - -#define PROTOCOL_VERSION 1 - -/** Our vendor specific USB commands to do stuff on the DPF */ - -#define USBCMD_GETPROPERTY 0x00 ///< Get property -#define USBCMD_SETPROPERTY 0x01 ///< Set property -#define USBCMD_MEMREAD 0x04 ///< Memory read -#define USBCMD_APPLOAD 0x05 ///< Load and run applet -// #define USBCMD_CLRFB 0x10 ///< Clear screen with RGB565 color -#define USBCMD_WRITEFB 0x11 ///< Write full screen. DEPRECATED. -#define USBCMD_BLIT 0x12 ///< Blit to screen -#define USBCMD_FLASHLOCK 0x20 ///< Lock USB for flash access -#define USBCMD_PROBE 0xff ///< Get version code (probe) - -/* Some special return codes */ -#define USB_IN_SEQUENCE 0x7f ///< We're inside a command sequence - -// Property handling: - -#define PROPERTY_BRIGHTNESS 0x01 -#define PROPERTY_ORIENTATION 0x10 |