7 const uint16_t PROGMEM keymaps
[][MATRIX_ROWS
][MATRIX_COLS
] = {
9 KC_7
, KC_8
, KC_9
, KC_ASTR
,
10 KC_4
, KC_5
, KC_6
, KC_SLSH
,
11 KC_1
, KC_2
, KC_3
, KC_MINS
,
12 KC_0
, KC_ENT
, KC_DOT
, KC_EQL
16 bool process_record_user(uint16_t keycode
, keyrecord_t
*record
) {
19 if (record
->event
.pressed
) {
20 SEND_STRING("http://1upkeyboards.com");
28 void led_set_user(uint8_t usb_led
) {
30 /* Map RXLED to USB_LED_NUM_LOCK */
31 if (usb_led
& (1 << USB_LED_NUM_LOCK
)) {
32 DDRB
|= (1 << 0); PORTB
&= ~(1 << 0);
34 DDRB
&= ~(1 << 0); PORTB
&= ~(1 << 0);
37 /* Map TXLED to USB_LED_CAPS_LOCK */
38 if (usb_led
& (1 << USB_LED_CAPS_LOCK
)) {
39 DDRD
|= (1 << 5); PORTD
&= ~(1 << 5);
41 DDRD
&= ~(1 << 5); PORTD
&= ~(1 << 5);