Updated keywords.txt
This commit is contained in:
parent
aa06a6aa4e
commit
f34b500d68
2 changed files with 32 additions and 18 deletions
|
|
@ -28,7 +28,7 @@ void setup() {
|
|||
void loop() {
|
||||
// Update Led equal to the caps lock state.
|
||||
// Keep in mind that on a 16u2 and Arduino Micro HIGH and LOW for TX/RX Leds are inverted.
|
||||
if (Keyboard.getLeds()&LED_CAPS_LOCK)
|
||||
if (Keyboard.getLeds() & LED_CAPS_LOCK)
|
||||
digitalWrite(pinLed, HIGH);
|
||||
else
|
||||
digitalWrite(pinLed, LOW);
|
||||
|
|
|
|||
48
keywords.txt
48
keywords.txt
|
|
@ -10,27 +10,35 @@
|
|||
# Methods and Functions (KEYWORD2)
|
||||
#######################################
|
||||
|
||||
USBDevice KEYWORD3
|
||||
Keyboard KEYWORD3
|
||||
Mouse KEYWORD3
|
||||
RawHID KEYWORD3
|
||||
System KEYWORD3
|
||||
Consumer KEYWORD3
|
||||
Gamepad KEYWORD3
|
||||
begin KEYWORD2
|
||||
end KEYWORD2
|
||||
press KEYWORD2
|
||||
release KEYWORD2
|
||||
releaseAll KEYWORD2
|
||||
accept KEYWORD2
|
||||
|
||||
click KEYWORD2
|
||||
move KEYWORD2
|
||||
moveTo KEYWORD2
|
||||
isPressed KEYWORD2
|
||||
|
||||
getLeds KEYWORD2
|
||||
pressKeycode KEYWORD2
|
||||
releaseKeycode KEYWORD2
|
||||
writeKeycode KEYWORD2
|
||||
addKeycodeToReport KEYWORD2
|
||||
removeKeycodeFromReport KEYWORD2
|
||||
|
||||
write_unicode KEYWORD2
|
||||
set_modifier KEYWORD2
|
||||
set_key1 KEYWORD2
|
||||
set_key2 KEYWORD2
|
||||
set_key3 KEYWORD2
|
||||
set_key4 KEYWORD2
|
||||
set_key5 KEYWORD2
|
||||
set_key6 KEYWORD2
|
||||
set_media KEYWORD2
|
||||
send_now KEYWORD2
|
||||
|
||||
buttons KEYWORD2
|
||||
xAxis KEYWORD2
|
||||
yAxis KEYWORD2
|
||||
|
|
@ -40,20 +48,26 @@ ryAxis KEYWORD2
|
|||
rzAxis KEYWORD2
|
||||
dPad1 KEYWORD2
|
||||
dPad2 KEYWORD2
|
||||
HID_SendReport KEYWORD2
|
||||
wakeupHost KEYWORD2
|
||||
baud KEYWORD2
|
||||
stopbits KEYWORD2
|
||||
paritytype KEYWORD2
|
||||
numbits KEYWORD2
|
||||
dtr KEYWORD2
|
||||
rts KEYWORD2
|
||||
|
||||
|
||||
#######################################
|
||||
# Instances (KEYWORD2)
|
||||
# Instances (KEYWORD1)
|
||||
#######################################
|
||||
|
||||
USBDevice KEYWORD1
|
||||
HID KEYWORD1
|
||||
Keyboard KEYWORD1
|
||||
Mouse KEYWORD1
|
||||
RawHID KEYWORD1
|
||||
System KEYWORD1
|
||||
Consumer KEYWORD1
|
||||
Gamepad KEYWORD1
|
||||
TeensyKeyboard KEYWORD1
|
||||
NKROKeyboard KEYWORD1
|
||||
AbsoluteMouse KEYWORD1
|
||||
|
||||
#######################################
|
||||
# Constants (LITERAL1)
|
||||
#######################################
|
||||
|
||||
#TODO add key definitions like KEY_ENTER
|
||||
|
|
|
|||
Loading…
Reference in a new issue