summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorPavlos Vinieratos <pvinis@gmail.com>2019-05-16 18:38:28 +0200
committerDrashna Jaelre <drashna@live.com>2019-05-16 09:38:28 -0700
commit1a28906a3da1f14034b81871b90bcce0ed56c286 (patch)
tree61a7fced0c7c115d27343fd4f7a6534202120aee /users
parenta8af694d265d5d136e81669ec7b30052a8f4de08 (diff)
[Keymap] Pvinis/update for iris (#5889)
* add default functions * some indenting * add ctl and alt * maybe?
Diffstat (limited to 'users')
-rw-r--r--users/pvinis/config.h1
-rw-r--r--users/pvinis/pvinis.c10
-rw-r--r--users/pvinis/pvinis.h4
3 files changed, 13 insertions, 2 deletions
diff --git a/users/pvinis/config.h b/users/pvinis/config.h
index 7f17f2d023..8e2efb40a4 100644
--- a/users/pvinis/config.h
+++ b/users/pvinis/config.h
@@ -2,6 +2,7 @@
#ifdef AUDIO_ENABLE
// #define STARTUP_SONG SONG(SONIC_RING)
+// #define DAC_SAMPLE_MAX 65535U // maybe this works for volume?
#endif
// allow rolling when keys have hold functionality
diff --git a/users/pvinis/pvinis.c b/users/pvinis/pvinis.c
index 7544035794..e97edcb98c 100644
--- a/users/pvinis/pvinis.c
+++ b/users/pvinis/pvinis.c
@@ -77,3 +77,13 @@ qk_tap_dance_action_t tap_dance_actions[] = {
void keyboard_post_init_user(void) {
keyboard_post_init_user_local();
}
+
+
+// default functions
+__attribute__ ((weak))
+void keyboard_post_init_user_local(void) {}
+
+__attribute__ ((weak))
+uint32_t layer_state_set_user_local(uint32_t state) {
+ return state;
+}
diff --git a/users/pvinis/pvinis.h b/users/pvinis/pvinis.h
index 0c5e2841a1..0c75c6a661 100644
--- a/users/pvinis/pvinis.h
+++ b/users/pvinis/pvinis.h
@@ -78,8 +78,8 @@ enum {
#define _________________QWERTY_R2_________________ KC_H , KC_J , KC_K , KC_L , KC_SCLN
#define _________________QWERTY_R3_________________ KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH
-#define _____________MOD_QWERTY_L2_________________ KC_A , SFT_T(KC_S), GUI_T(KC_D), KC_F , KC_G
-#define _____________MOD_QWERTY_R2_________________ KC_H , KC_J , GUI_T(KC_K), SFT_T(KC_L), KC_SCLN
+#define _____________MOD_QWERTY_L2_________________ CTL_T(KC_A), SFT_T(KC_S), GUI_T(KC_D), ALT_T(KC_F), KC_G
+#define _____________MOD_QWERTY_R2_________________ KC_H , ALT_T(KC_J), GUI_T(KC_K), SFT_T(KC_L), CTL_T(KC_SCLN)
// ,-----+-----+-----+-----+-----, ,-----+-----+-----+-----+-----,
// | Q | G | M | L | W | | Y | F | I | O | P |