mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 17:06:52 +06:00
19bd8aa942
* Added idb 60 keyboard * fixed info.json * implemented revievers' suggested changes * fixed an error * implemented revievers' suggestions * further cleanup * implemented suggested changes * fixed errors * checkout * delete old files * delete old files * preparations for open source hardware files * revert eager debounce mode to default * fix indicator LEDs stuck in "on" mode, rename ESC LED to fn LED (rev 2 PCB will have another LED slot on the right shift FN key) * cleanup * cleanup * lost+found lufa * lost+found lufa * lost+found lufa * lost+found lufa * lost+found lufa * Update keyboards/idb/idb_60/keymaps/pngu/keymap.c Co-Authored-By: Joel Challis <git@zvecr.com> * Update idb_60.h * Update idb_60.h * made suggested changes * Update keyboards/idb/idb_60/idb_60.h Co-Authored-By: Joel Challis <git@zvecr.com> Co-authored-by: root <root@DESKTOP-QQ80MAV.localdomain> Co-authored-by: tbrandt <thorben.brandt@dg-cybersicherheit.de> Co-authored-by: Joel Challis <git@zvecr.com>
18 lines
282 B
C
18 lines
282 B
C
#include "idb_60.h"
|
|
|
|
void keyboard_pre_init_kb(void) {
|
|
setPinOutput(C4);
|
|
setPinOutput(C5);
|
|
}
|
|
|
|
void led_set_kb(uint8_t usb_led) {
|
|
|
|
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
|
_idb_60_caps_led_on();
|
|
} else {
|
|
_idb_60_caps_led_off();
|
|
}
|
|
|
|
led_set_user(usb_led);
|
|
}
|