Browse Source

update keymap

master
di0ib 3 years ago
parent
commit
4f08187275

BIN
keyboard/flanck/FLASH.bin View File


+ 1
- 1
keyboard/flanck/config.h View File

@@ -51,7 +51,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ws2812_PORTREG PORTD
#define ws2812_DDRREG DDRD
#define ws2812_pin PD2
#define RGBLED_NUM 4 // Number of LEDs
#define RGBLED_NUM 5 // Number of LEDs
#ifndef RGBLIGHT_HUE_STEP
#define RGBLIGHT_HUE_STEP 10
#endif

BIN
keyboard/flanck/flanck.bin View File


+ 2
- 2
keyboard/flanck/keymap_flanck.c View File

@@ -13,14 +13,14 @@ KEYMAP(
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, DELETE,
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, MINS, EQL, LBRC, RBRC, BSLS,
TRNS, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, TRNS,
TRNS, TRNS, TRNS, SLSH, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
),

KEYMAP(
FN4, FN5, FN6, FN7, FN8, FN9, FN10, FN11, FN12, FN13, FN14, DELETE,
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN23, FN24, FN25, FN26, FN27,
TRNS, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, TRNS,
TRNS, TRNS, TRNS, SLSH, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
),

KEYMAP( /* Tab */

+ 14
- 2
keyboard/flanck/led.c View File

@@ -22,5 +22,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

void led_set(uint8_t usb_led)
{

}
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
// output low
DDRB &= ~(1<<0);
PORTB &= ~(1<<0);
DDRD |= (1<<5);
PORTD &= ~(1<<5);
} else {
// Hi-Z
DDRB |= (1<<0);
PORTB &= ~(1<<0);
DDRD &= ~(1<<5);
PORTD &= ~(1<<5);
}
}

+ 2
- 2
keyboard/gnap/keymap_gnap.c View File

@@ -14,14 +14,14 @@ KEYMAP(
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, DELETE,
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, MINS, EQL, LBRC, RBRC, BSLS,
TRNS, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, TRNS,
TRNS, TRNS, TRNS, SLSH, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
),

KEYMAP(
FN6, FN7, FN8, FN9, FN10, FN11, FN12, FN13, FN14, FN15, FN16, DELETE,
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN17, FN18, FN19, FN20, FN21,
TRNS, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, TRNS,
TRNS, TRNS, TRNS, SLSH, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END
),

KEYMAP( /* Tab */

Loading…
Cancel
Save