rework HID-based libraries and add Due fallback
This commit is contained in:
parent
3d61f6e37e
commit
99a27d0bd8
|
@ -21,8 +21,6 @@
|
|||
|
||||
#if defined(USBCON)
|
||||
|
||||
//#define RAWHID_ENABLED
|
||||
|
||||
HID_ HID;
|
||||
|
||||
static u8 HID_ENDPOINT_INT;
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
|
||||
#if defined(USBCON)
|
||||
|
||||
#define _USING_HID
|
||||
|
||||
//================================================================================
|
||||
//================================================================================
|
||||
// HID 'Driver'
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
#######################################
|
||||
# Syntax Coloring Map HID
|
||||
#######################################
|
||||
|
||||
#######################################
|
||||
# Datatypes (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
HID KEYWORD1
|
||||
|
||||
#######################################
|
||||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
begin KEYWORD2
|
||||
SendReport KEYWORD2
|
||||
AppendDescriptor KEYWORD2
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
#######################################
|
||||
HID_TX LITERAL1
|
|
@ -0,0 +1,8 @@
|
|||
name=HID
|
||||
version=1.0
|
||||
author=Arduino
|
||||
maintainer=Arduino <info@arduino.cc>
|
||||
sentence=Module for PluggableUSB infrastructure. Exposes an API for devices like Keyboards, Mice and Gamepads
|
||||
paragraph=
|
||||
url=http://www.arduino.cc/en/Reference/HID
|
||||
architectures=avr
|
Loading…
Reference in New Issue