Mercurial > louis > kiibohd-controller
comparison Output/pjrcUSB/output_com.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 | 136e47478441 |
children | 23a1868b4ac2 |
comparison
equal
deleted
inserted
replaced
369:ce9720634c15 | 370:39e338a6733d |
---|---|
82 | 82 |
83 extern uint8_t Output_DebugMode; // 0 - Debug disabled, 1 - Debug enabled | 83 extern uint8_t Output_DebugMode; // 0 - Debug disabled, 1 - Debug enabled |
84 | 84 |
85 | 85 |
86 | 86 |
87 // ----- Capabilities ----- | |
88 | |
89 // Output capabilities | |
90 void Output_consCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); | |
91 void Output_noneSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); | |
92 void Output_sysCtrlSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); | |
93 void Output_usbCodeSend_capability( uint8_t state, uint8_t stateType, uint8_t *args ); | |
94 | |
95 // Configuration capabilities | |
96 void Output_kbdProtocolBoot_capability( uint8_t state, uint8_t stateType, uint8_t *args ); | |
97 void Output_kbdProtocolNKRO_capability( uint8_t state, uint8_t stateType, uint8_t *args ); | |
98 | |
99 | |
100 | |
101 // ----- Functions ----- | 87 // ----- Functions ----- |
102 | 88 |
103 void Output_setup(); | 89 void Output_setup(); |
104 void Output_send(); | 90 void Output_send(); |
105 | 91 |