comparison Macro/PartialMap/macro.h @ 370:39e338a6733d

Fixing default ErgoDox layout and adding FlashMode button - Adds proper flashMode support for all keyboards and microcontrollers (usb and serial) - flashModeEnabled must be set to 1 otherwise it will only show an error * This is on purpose (somewhat dangerous feature as it allows remote flashing) - Capability cleanup
author Jacob Alexander <haata@kiibohd.com>
date Fri, 21 Aug 2015 19:43:45 -0700
parents 7c6ac7b88cda
children
comparison
equal deleted inserted replaced
369:ce9720634c15 370:39e338a6733d
21 // Compiler Includes 21 // Compiler Includes
22 #include <stdint.h> 22 #include <stdint.h>
23 23
24 24
25 25
26 // ----- Capabilities -----
27
28 void Macro_layerState_capability( uint8_t state, uint8_t stateType, uint8_t *args );
29 void Macro_layerLatch_capability( uint8_t state, uint8_t stateType, uint8_t *args );
30 void Macro_layerLock_capability( uint8_t state, uint8_t stateType, uint8_t *args );
31 void Macro_layerShift_capability( uint8_t state, uint8_t stateType, uint8_t *args );
32
33
34
35 // ----- Functions ----- 26 // ----- Functions -----
36 27
37 void Macro_analogState( uint8_t scanCode, uint8_t state ); 28 void Macro_analogState( uint8_t scanCode, uint8_t state );
38 void Macro_keyState( uint8_t scanCode, uint8_t state ); 29 void Macro_keyState( uint8_t scanCode, uint8_t state );
39 void Macro_ledState( uint8_t ledCode, uint8_t state ); 30 void Macro_ledState( uint8_t ledCode, uint8_t state );