A fully-Android-compatible two joysticks USB driver for LPC1768. The joysticks have 1 hat, 6 buttons, and there are 1P, 2P buttons.
Fork of app-board-Joystick by
Diff: usbdevice.h
- Revision:
- 3:f1a8ec4659f8
- Parent:
- 1:76c47d2ba442
--- a/usbdevice.h Sat Dec 17 13:13:59 2016 +0000 +++ b/usbdevice.h Sat Dec 17 15:10:12 2016 +0000 @@ -2,8 +2,7 @@ /* Generic USB device */ /* Copyright (c) Phil Wright 2008 */ -#ifndef USBDEVICE_H -#define USBDEVICE_H +#pragma once #include "usbdc.h" @@ -97,5 +96,3 @@ bool controlSetup(); void decodeSetupPacket(unsigned char *data, SETUP_PACKET *packet); }; - -#endif \ No newline at end of file