mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 12:22:57 +00:00
d3c6da7aff
* Add M6-A keymap * Update XD60 keymap * Update XD60 keymap readme * Update JJ40 and Let's Split keymaps * Add readme for M6-A * Fix typo, update JJ40 README * Update jj40 readme * Cleanup jj40 keymap * Revert Let's Split QWERTY layer to default before #2010 * Update numpad layers * Fix: Let's Split keymap getting stuck mods due to having keycodes assigned on the Raise layer * Keep ASCII art consistent with keymap
25 lines
503 B
C
25 lines
503 B
C
#include "four_banger.h"
|
|
|
|
enum custom_keycodes {
|
|
UP_URL = SAFE_RANGE
|
|
};
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
LAYOUT_ortho_2x2(
|
|
KC_1, KC_U,
|
|
KC_P, UP_URL
|
|
),
|
|
};
|
|
|
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|
switch (keycode) {
|
|
case UP_URL:
|
|
if (record->event.pressed) {
|
|
SEND_STRING("http://1upkeyboards.com");
|
|
}
|
|
return false;
|
|
break;
|
|
}
|
|
return true;
|
|
}
|