Removed outdated notice in examples
This commit is contained in:
parent
cc8940b9ec
commit
766ef64b4b
7 changed files with 1 additions and 22 deletions
|
|
@ -3,10 +3,7 @@
|
||||||
See the readme for credit to other people.
|
See the readme for credit to other people.
|
||||||
|
|
||||||
Advanced Gamepad example
|
Advanced Gamepad example
|
||||||
|
*/
|
||||||
Make sure the Gamepad report is set in:
|
|
||||||
sketchbook/hardware/HID/avr/variants/hid_descriptors/hid_descriptors.h
|
|
||||||
*/
|
|
||||||
|
|
||||||
const int pinLed = LED_BUILTIN;
|
const int pinLed = LED_BUILTIN;
|
||||||
const int pinButton = 2;
|
const int pinButton = 2;
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@
|
||||||
Press a button to play/pause music player
|
Press a button to play/pause music player
|
||||||
See HID Project documentation for more Consumer keys.
|
See HID Project documentation for more Consumer keys.
|
||||||
|
|
||||||
Make sure the Consumer report is set in:
|
|
||||||
sketchbook/hardware/HID/avr/variants/hid_descriptors/hid_descriptors.h
|
|
||||||
|
|
||||||
// basic Media key definitions, see HID Project and official USB docs for more
|
// basic Media key definitions, see HID Project and official USB docs for more
|
||||||
#define MEDIA_FAST_FORWARD 0xB3
|
#define MEDIA_FAST_FORWARD 0xB3
|
||||||
#define MEDIA_REWIND 0xB4
|
#define MEDIA_REWIND 0xB4
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
Press a button and demonstrate Gamepad actions
|
Press a button and demonstrate Gamepad actions
|
||||||
|
|
||||||
Make sure the Gamepad report is set in:
|
|
||||||
sketchbook/hardware/HID/avr/variants/hid_descriptors/hid_descriptors.h
|
|
||||||
|
|
||||||
Function prototypes:
|
Function prototypes:
|
||||||
void begin(void);
|
void begin(void);
|
||||||
void end(void);
|
void end(void);
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
Press a button to write some text to your pc.
|
Press a button to write some text to your pc.
|
||||||
See official and HID Project documentation for more infos
|
See official and HID Project documentation for more infos
|
||||||
|
|
||||||
Make sure the Keyboard report is set in (by default it is):
|
|
||||||
sketchbook/hardware/HID/avr/variants/hid_descriptors/hid_descriptors.h
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const int pinLed = LED_BUILTIN;
|
const int pinLed = LED_BUILTIN;
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@
|
||||||
Press a button to toogle caps lock.
|
Press a button to toogle caps lock.
|
||||||
Caps lock state is represented by the onboard led.
|
Caps lock state is represented by the onboard led.
|
||||||
See official and HID Project documentation for more infos
|
See official and HID Project documentation for more infos
|
||||||
|
|
||||||
Make sure the Keyboard report + LEDs! is set in:
|
|
||||||
sketchbook/hardware/HID/avr/variants/hid_descriptors/hid_descriptors.h
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const int pinLed = LED_BUILTIN;
|
const int pinLed = LED_BUILTIN;
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@
|
||||||
Press a button to click, move, moveTo the mouse.
|
Press a button to click, move, moveTo the mouse.
|
||||||
See official documentation for more infos
|
See official documentation for more infos
|
||||||
|
|
||||||
Make sure the Absolute Mouse report is set in:
|
|
||||||
sketchbook/hardware/HID/avr/variants/hid_descriptors/hid_descriptors.h
|
|
||||||
|
|
||||||
Mouse Key definitions:
|
Mouse Key definitions:
|
||||||
MOUSE_LEFT
|
MOUSE_LEFT
|
||||||
MOUSE_RIGHT
|
MOUSE_RIGHT
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,6 @@
|
||||||
System example
|
System example
|
||||||
|
|
||||||
Press a button to put pc into sleep/shut it down or wake it up again.
|
Press a button to put pc into sleep/shut it down or wake it up again.
|
||||||
|
|
||||||
Make sure the System report is set in:
|
|
||||||
sketchbook/hardware/HID/avr/variants/hid_descriptors/hid_descriptors.h
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const int pinLed = LED_BUILTIN;
|
const int pinLed = LED_BUILTIN;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue