dotcom
parent
2de53795d6
commit
33e2a6285f
|
@ -0,0 +1,34 @@
|
|||
#include "keymap_common.h"
|
||||
|
||||
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = KEYMAP(
|
||||
ESC, Q, W, E, R, T, Y, U, I, O, P, BSPC,
|
||||
FN1, A, S, D, F, G, H, J, K, L, SCLN, ENT,
|
||||
LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, LBRC,
|
||||
LCTL, BSLS, QUOT, LALT, FN22, FN2, SPC, LEFT, UP, DOWN, RGHT, RBRC),
|
||||
[1] = KEYMAP(
|
||||
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, DEL,
|
||||
TRNS, FN10, FN11, FN12, FN13, FN14, FN15, FN16, FN17, TRNS, TRNS, TRNS,
|
||||
TRNS, FN18, FN19, FN22, EQL, MINS, FN20, TRNS, TRNS, TRNS, TRNS, TRNS,
|
||||
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN1, TRNS, VOLD, VOLU, TRNS),
|
||||
};
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[1] = ACTION_LAYER_MOMENTARY(1), // to Fn overlay
|
||||
|
||||
[10] = ACTION_MODS_KEY(MOD_LSFT, KC_1),
|
||||
[11] = ACTION_MODS_KEY(MOD_LSFT, KC_2),
|
||||
[12] = ACTION_MODS_KEY(MOD_LSFT, KC_3),
|
||||
[13] = ACTION_MODS_KEY(MOD_LSFT, KC_4),
|
||||
[14] = ACTION_MODS_KEY(MOD_LSFT, KC_5),
|
||||
[15] = ACTION_MODS_KEY(MOD_LSFT, KC_6),
|
||||
[16] = ACTION_MODS_KEY(MOD_LSFT, KC_7),
|
||||
[17] = ACTION_MODS_KEY(MOD_LSFT, KC_8),
|
||||
[18] = ACTION_MODS_KEY(MOD_LSFT, KC_9),
|
||||
[19] = ACTION_MODS_KEY(MOD_LSFT, KC_0),
|
||||
[20] = ACTION_MODS_KEY(MOD_LSFT, KC_MINS),
|
||||
[21] = ACTION_MODS_KEY(MOD_LSFT, KC_EQL),
|
||||
[22] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV),
|
||||
[23] = ACTION_MODS_KEY(MOD_LSFT, KC_LBRC),
|
||||
[24] = ACTION_MODS_KEY(MOD_LSFT, KC_RBRC),
|
||||
[28] = ACTION_MODS_KEY(MOD_LSFT, KC_BSLS),
|
||||
};
|
|
@ -0,0 +1,51 @@
|
|||
#include "keymap_common.h"
|
||||
|
||||
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = KEYMAP( /* Native */
|
||||
ESC, Q, W, E, R, T, Y, U, I, O, P, FN2,
|
||||
BSPC, A, S, D, F, G, H, J, K, L, SCLN, QUOT,
|
||||
TAB, Z, X, C, V, B, N, M, COMM, DOT, SLSH, ENT,
|
||||
DEL, LCTL, NO, LSFT, LALT, SPC, NO, LEFT, DOWN, UP, RGHT),
|
||||
[1] = KEYMAP( /* QWERTY->PHOTOSHOP */
|
||||
DELETE, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, FN1,
|
||||
O, G, S, U, T, FN27, F21, F10, F11, F7, F8, F9,
|
||||
TAB, FN4, FN5, FN6, F1, FN7, F18, F19, F23, F20, F22, FN9,
|
||||
COMM, DOT, FN10, FN11, FN3, SPC, FN12, F2, FN8, F3, F14),
|
||||
[2] = KEYMAP( /* 2: FN3 PHOTOSHOP */
|
||||
ESC, FN25, FN26, NO, NO, NO, NO, NO, NO, NO, NO, NO,
|
||||
NO, NO, NO, NO, NO, NO, NO, NO, NO, FN19, FN20, FN21,
|
||||
C, NO, FN22, FN5, NO, FN23, NO, NO, NO, NO, FN13, NO,
|
||||
FN14, FN15, FN16, FN17, FN3, SPC, FN18, NO, NO, F24, NO),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
[1] = ACTION_DEFAULT_LAYER_SET(0), // set Qwerty layout
|
||||
[2] = ACTION_DEFAULT_LAYER_SET(1), // set Photoshop presets
|
||||
[3] = ACTION_LAYER_ON_OFF(2), // Photoshop function layer
|
||||
|
||||
[4] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL | MOD_LALT, KC_F9), // photo folder AHK
|
||||
[5] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL, KC_I), // select inverse
|
||||
[6] = ACTION_MODS_KEY(MOD_LSFT, KC_M), // marquee select
|
||||
[7] = ACTION_MODS_KEY(MOD_LALT, KC_BSPC), // fill
|
||||
[8] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL | MOD_LALT, KC_X), // warp
|
||||
[9] = ACTION_MODS_KEY(MOD_LCTL | MOD_LALT | MOD_LSFT, KC_F12), // merge all new layer
|
||||
[10] = ACTION_MODS_KEY(MOD_LCTL, KC_MINS), // zoom out
|
||||
[11] = ACTION_MODS_KEY(MOD_LCTL, KC_H), // RBG sliders
|
||||
[12] = ACTION_MODS_KEY(MOD_LCTL, KC_S), // save
|
||||
[13] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL, KC_F5), // layer mask from transparancy
|
||||
[14] = ACTION_MODS_KEY(MOD_LALT, KC_LBRC), // prev layer
|
||||
[15] = ACTION_MODS_KEY(MOD_LALT, KC_RBRC), // next layer
|
||||
[16] = ACTION_MODS_KEY(MOD_LCTL, KC_EQL), // zoom in
|
||||
[17] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL, KC_H), // HSV sliders
|
||||
[18] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL | MOD_LALT, KC_F11), // save as PNG
|
||||
[19] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL | MOD_LALT, KC_F7), // gaussian blur
|
||||
[20] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL | MOD_LALT, KC_F8), // motion blur
|
||||
[21] = ACTION_MODS_KEY(MOD_LSFT | MOD_LCTL, KC_X), // liquify filter
|
||||
[22] = ACTION_MODS_KEY(MOD_LSFT, KC_MINS), // prev layer blending
|
||||
[23] = ACTION_MODS_KEY(MOD_LSFT | MOD_LALT, KC_N), // normal layer blending
|
||||
[24] = ACTION_MODS_KEY(MOD_LSFT, KC_EQL), // next layer blending
|
||||
[25] = ACTION_MODS_KEY(MOD_LCTL, KC_Z), // step back
|
||||
[26] = ACTION_MODS_KEY(MOD_LCTL, KC_Y), // step forward
|
||||
[27] = ACTION_MODS_KEY(MOD_LCTL, KC_R), // rasterize
|
||||
|
||||
};
|
Loading…
Reference in New Issue