From 71a8fd8b1286926bd21edce3d2ec7423d8ca4eef Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 23 Oct 2015 20:12:04 -0400 Subject: bluetooth working with usb --- keyboard/planck/keymaps/keymap_lock.c | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'keyboard/planck/keymaps/keymap_lock.c') diff --git a/keyboard/planck/keymaps/keymap_lock.c b/keyboard/planck/keymaps/keymap_lock.c index b844d1cda..cc9be55f6 100644 --- a/keyboard/planck/keymaps/keymap_lock.c +++ b/keyboard/planck/keymaps/keymap_lock.c @@ -75,33 +75,33 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) default_layer_and(0); default_layer_or((1<<5)); - uint8_t low = boot_lock_fuse_bits_get(0x0000); - uint8_t high = boot_lock_fuse_bits_get(0x0003); - uint8_t ext = boot_lock_fuse_bits_get(0x0002); - uint8_t lock = boot_lock_fuse_bits_get(0x0001); + // uint8_t low = boot_lock_fuse_bits_get(0x0000); + // uint8_t high = boot_lock_fuse_bits_get(0x0003); + // uint8_t ext = boot_lock_fuse_bits_get(0x0002); + // uint8_t lock = boot_lock_fuse_bits_get(0x0001); - register_code(hextokeycode((low & 0xF0) >> 4)); - unregister_code(hextokeycode((low & 0xF0) >> 4)); - register_code(hextokeycode((low & 0x0F))); - unregister_code(hextokeycode((low & 0x0F))); + // register_code(hextokeycode((low & 0xF0) >> 4)); + // unregister_code(hextokeycode((low & 0xF0) >> 4)); + // register_code(hextokeycode((low & 0x0F))); + // unregister_code(hextokeycode((low & 0x0F))); - register_code(hextokeycode((high & 0xF0) >> 4)); - unregister_code(hextokeycode((high & 0xF0) >> 4)); - register_code(hextokeycode((high & 0x0F))); - unregister_code(hextokeycode((high & 0x0F))); + // register_code(hextokeycode((high & 0xF0) >> 4)); + // unregister_code(hextokeycode((high & 0xF0) >> 4)); + // register_code(hextokeycode((high & 0x0F))); + // unregister_code(hextokeycode((high & 0x0F))); - register_code(hextokeycode((ext & 0xF0) >> 4)); - unregister_code(hextokeycode((ext & 0xF0) >> 4)); - register_code(hextokeycode((ext & 0x0F))); - unregister_code(hextokeycode((ext & 0x0F))); + // register_code(hextokeycode((ext & 0xF0) >> 4)); + // unregister_code(hextokeycode((ext & 0xF0) >> 4)); + // register_code(hextokeycode((ext & 0x0F))); + // unregister_code(hextokeycode((ext & 0x0F))); - register_code(hextokeycode((lock & 0xF0) >> 4)); - unregister_code(hextokeycode((lock & 0xF0) >> 4)); - register_code(hextokeycode((lock & 0x0F))); - unregister_code(hextokeycode((lock & 0x0F))); + // register_code(hextokeycode((lock & 0xF0) >> 4)); + // unregister_code(hextokeycode((lock & 0xF0) >> 4)); + // register_code(hextokeycode((lock & 0x0F))); + // unregister_code(hextokeycode((lock & 0x0F))); // note(0+12, 20); // note(0+24, 20); -- cgit v1.2.3-24-g4f1b