You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
2.6 KiB
C
49 lines
2.6 KiB
C
9 years ago
|
#include "infinity_chibios.h"
|
||
|
|
||
|
const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||
|
/* Layer 0: Default Layer
|
||
|
* ,-----------------------------------------------------------.
|
||
|
* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| `|BSp|
|
||
|
* |-----------------------------------------------------------|
|
||
|
* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \|
|
||
|
* |-----------------------------------------------------------|
|
||
|
* |Contro| A| S| D| F| G| H| J| K| L| ;| '|Enter |
|
||
|
* |-----------------------------------------------------------|
|
||
|
* |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn0|
|
||
|
* |-----------------------------------------------------------'
|
||
|
* | |Gui|Alt | Space |Alt |Gui| | |
|
||
|
* `-----------------------------------------------------------'
|
||
|
*/
|
||
|
[0] =
|
||
|
KEYMAP(ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSLS, GRV, \
|
||
|
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSPC, \
|
||
|
LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
|
||
|
LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,FN0, \
|
||
|
NO, LGUI,LALT, SPC, RALT,RGUI,NO, NO),
|
||
|
|
||
|
/* Layer 1: HHKB mode (HHKB Fn)
|
||
|
* ,-----------------------------------------------------------.
|
||
|
* |Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del|
|
||
|
* |-----------------------------------------------------------|
|
||
|
* |Caps | | | | | | | |Psc|Slk|Pus|Up | |Backs|
|
||
|
* |-----------------------------------------------------------|
|
||
|
* | |VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig|Enter |
|
||
|
* |-----------------------------------------------------------|
|
||
|
* | | | | | | | +| -|End|PgD|Dow| | |
|
||
|
* `-----------------------------------------------------------'
|
||
|
* | |Gui|Alt | Space |Alt |Gui| | |
|
||
|
* `-----------------------------------------------------------'
|
||
|
*/
|
||
|
[1] =
|
||
|
KEYMAP(PWR, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \
|
||
|
CAPS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PSCR,SLCK,PAUS, UP, TRNS, BSPC, \
|
||
|
TRNS,VOLD,VOLU,MUTE,TRNS,TRNS,PAST,PSLS,HOME,PGUP,LEFT,RGHT,PENT, \
|
||
|
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PPLS,PMNS,END, PGDN,DOWN,TRNS,TRNS, \
|
||
|
TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS),
|
||
|
};
|
||
|
|
||
|
const uint16_t fn_actions[] = {
|
||
|
[0] = ACTION_LAYER_MOMENTARY(1),
|
||
|
};
|
||
|
|