You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
455 B
21 lines
455 B
3 years ago
|
// -*- mode: c++ -*-
|
||
|
|
||
|
#include <Arduino.h>
|
||
|
#include <Kaleidoscope.h>
|
||
|
#include <Kaleidoscope-Macros.h>
|
||
|
|
||
|
KALEIDOSCOPE_INIT_PLUGINS(Macros);
|
||
|
|
||
|
void setup() {
|
||
|
Kaleidoscope.setup();
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
Kaleidoscope.device().hid().keyboard().pressKey(Key_H);
|
||
|
Kaleidoscope.device().hid().keyboard().sendReport();
|
||
|
Kaleidoscope.device().hid().keyboard().releaseKey(Key_H);
|
||
|
Kaleidoscope.device().hid().keyboard().sendReport();
|
||
|
delay(1000);
|
||
|
|
||
|
}
|