This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define KEY_LEFT_CTRL 0x01 | |
#define KEY_LEFT_SHIFT 0x02 | |
#define KEY_LEFT_ALT 0x04uint8_t buf[8] = { | |
0 }; /* Keyboard report buffer */#define PIN_COPY 7 | |
#define PIN_CUT 5 | |
#define PIN_PASTE 6 | |
#define PIN_EYEDROP 4 | |
#define PIN_LOCK 3 | |
#define PIN_SAVE 2int state = 1;void setup() | |
{ |