rework HID-based libraries and add Due fallback

This commit is contained in:
Martino Facchin 2015-07-15 16:15:46 +02:00 committed by Cristian Maglie
parent 3d61f6e37e
commit 99a27d0bd8
4 changed files with 31 additions and 2 deletions

View File

@ -21,8 +21,6 @@
#if defined(USBCON)
//#define RAWHID_ENABLED
HID_ HID;
static u8 HID_ENDPOINT_INT;

View File

@ -27,6 +27,8 @@
#if defined(USBCON)
#define _USING_HID
//================================================================================
//================================================================================
// HID 'Driver'

View File

@ -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

View File

@ -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