Browse Source

Made style more consistent; and removed some lines.

pull/14484/head^2
Batuhan Başerdem 2 years ago
parent
commit
3121afc7ba
22 changed files with 130 additions and 141 deletions
  1. +5
    -5
      keyboards/splitkb/kyria/keymaps/bbaserdem/config.h
  2. +5
    -5
      layouts/community/ortho_4x12/bbaserdem/config.h
  3. +9
    -10
      layouts/community/split_3x5_3/bbaserdem/config.h
  4. +3
    -3
      layouts/community/split_3x5_3/bbaserdem/keymap.c
  5. +4
    -8
      layouts/community/split_3x6_3/bbaserdem/chconf.h
  6. +0
    -2
      layouts/community/split_3x6_3/bbaserdem/config.h
  7. +3
    -3
      layouts/community/split_3x6_3/bbaserdem/halconf.h
  8. +5
    -5
      layouts/community/split_3x6_3/bbaserdem/mcuconf.h
  9. +1
    -2
      users/bbaserdem/bb-audio.h
  10. +2
    -2
      users/bbaserdem/bb-backlight.c
  11. +1
    -1
      users/bbaserdem/bb-backlight.h
  12. +21
    -22
      users/bbaserdem/bb-encoder.c
  13. +0
    -1
      users/bbaserdem/bb-encoder.h
  14. +6
    -6
      users/bbaserdem/bb-macro.c
  15. +4
    -4
      users/bbaserdem/bb-macro.h
  16. +0
    -1
      users/bbaserdem/bb-oled-extra.c
  17. +1
    -1
      users/bbaserdem/bb-oled.c
  18. +3
    -3
      users/bbaserdem/bb-rgb.c
  19. +3
    -3
      users/bbaserdem/bb-rgb.h
  20. +17
    -17
      users/bbaserdem/bbaserdem.c
  21. +26
    -26
      users/bbaserdem/bbaserdem.h
  22. +11
    -11
      users/bbaserdem/config.h

+ 5
- 5
keyboards/splitkb/kyria/keymaps/bbaserdem/config.h View File

@ -22,11 +22,11 @@
// Split definition; use the following to flash;
// pro-micro: avrdude-split-left/right
// elite-c: dfu-split-left/right
#define ENCODER_DIRECTION_FLIP
#define EE_HANDS
# define ENCODER_DIRECTION_FLIP
# define EE_HANDS
// Make sure kyria has bigger oled display
#ifdef OLED_ENABLE
#define OLED_DISPLAY_128X64
#endif
# ifdef OLED_ENABLE
# define OLED_DISPLAY_128X64
# endif
#endif

+ 5
- 5
layouts/community/ortho_4x12/bbaserdem/config.h View File

@ -17,10 +17,10 @@
#pragma once
// Code pertaining to planck rev6
#if defined(KEYBOARD_planck_rev6)
#ifdef KEYBOARD_planck_rev6
// Encoder I use;
#ifdef ENCODER_RESOLUTION
#undef ENCODER_RESOLUTION
#endif
#define ENCODER_RESOLUTION 2
# ifdef ENCODER_RESOLUTION
# undef ENCODER_RESOLUTION
# endif
# define ENCODER_RESOLUTION 2
#endif

+ 9
- 10
layouts/community/split_3x5_3/bbaserdem/config.h View File

@ -24,13 +24,12 @@
#ifdef KEYBOARD_crkbd_rev1
// Corne overrides
#include "../../../../keyboards/crkbd/rev1/config.h"
#ifdef RGBLED_NUM
#undef RGBLED_NUM
#endif
#ifdef DRIVER_LED_TOTAL
#undef DRIVER_LED_TOTAL
#endif
#define RGBLED_NUM 48
#define DRIVER_LED_TOTAL RGBLED_NUM
#endif
# ifdef RGBLED_NUM
# undef RGBLED_NUM
# endif
# ifdef DRIVER_LED_TOTAL
# undef DRIVER_LED_TOTAL
# endif
# define RGBLED_NUM 48
# define DRIVER_LED_TOTAL RGBLED_NUM
#endif // KEYBOARD_crkbd_rev1

+ 3
- 3
layouts/community/split_3x5_3/bbaserdem/keymap.c View File

@ -97,7 +97,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#ifdef RGB_MATRIX_ENABLE
// crkbd
#if defined(KEYBOARD_crkbd_rev1)
#ifdef KEYBOARD_crkbd_rev1
/* This is left-right for crkbd indicator light
*      
* 2318171009      3334414247
@ -111,7 +111,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
// End of differentiations
#endif
#endif // KEYBOARD_crkbd_rev1
// End of code for the RGB_MATRIX setup
#endif
#endif // RGB_MATRIX_ENABLE

+ 4
- 8
layouts/community/split_3x6_3/bbaserdem/chconf.h View File

@ -17,11 +17,7 @@
// Code pertaining the ARM crkbd version
#ifdef KEYBOARD_crkbd_rev1
#define CH_CFG_ST_RESOLUTION 16
#define CH_CFG_ST_FREQUENCY 10000
#if __has_include("platforms/chibios/common/configs/chconf.h")
# include_next "platforms/chibios/common/configs/chconf.h"
#else
# include_next "chconf.h"
#endif
#endif
# define CH_CFG_ST_RESOLUTION 16
# define CH_CFG_ST_FREQUENCY 10000
# include_next "chconf.h"
#endif // KEYBOARD_crkbd_rev1

+ 0
- 2
layouts/community/split_3x6_3/bbaserdem/config.h View File

@ -21,8 +21,6 @@
// Code pertaining to Corne ARM; from Waffle's keymap
#ifdef KEYBOARD_crkbd_rev1
# include "config_common.h"
// Use EE_HANDS to determine handedness
# define EE_HANDS


+ 3
- 3
layouts/community/split_3x6_3/bbaserdem/halconf.h View File

@ -18,7 +18,7 @@
#ifdef KEYBOARD_crkbd_rev1
// #define HAL_USE_DAC TRUE
#define HAL_USE_PWM TRUE
#define HAL_USE_SERIAL TRUE
#include_next <halconf.h>
# define HAL_USE_PWM TRUE
# define HAL_USE_SERIAL TRUE
# include_next <halconf.h>
#endif

+ 5
- 5
layouts/community/split_3x6_3/bbaserdem/mcuconf.h View File

@ -17,9 +17,9 @@
#pragma once
#ifdef KEYBOARD_crkbd_rev1
#include_next <mcuconf.h>
#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE
#undef STM32_SERIAL_USE_USART1
#define STM32_SERIAL_USE_USART1 TRUE
# include_next <mcuconf.h>
# undef STM32_PWM_USE_TIM3
# define STM32_PWM_USE_TIM3 TRUE
# undef STM32_SERIAL_USE_USART1
# define STM32_SERIAL_USE_USART1 TRUE
#endif

+ 1
- 2
users/bbaserdem/bb-audio.h View File

@ -14,10 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "bbaserdem.h"
/* AUDIO
* Some functions to hook to some modes
*/


+ 2
- 2
users/bbaserdem/bb-backlight.c View File

@ -24,7 +24,7 @@
void keyboard_post_init_backlight(void) {
backlight_enable();
backlight_level(2);
#ifdef BACKLIGHT_BREATHING
# ifdef BACKLIGHT_BREATHING
breathing_enable();
#endif
# endif // BACKLIGHT_BREATHING
}

+ 1
- 1
users/bbaserdem/bb-backlight.h View File

@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "bbaserdem.h"
/* Hooks for backlight definitions
*/


+ 21
- 22
users/bbaserdem/bb-encoder.c View File

@ -14,17 +14,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "bb-encoder.h"
// Need this to call velocikey activation
#ifdef VELOCIKEY_ENABLE
# include "velocikey.h"
#endif
#endif // VELOCIKEY_ENABLE
// Need memcpy and memcmp from string.h along with transfer stuff
#ifdef OLED_ENABLE
# include <string.h>
#endif
#endif // OLED_ENABLE
/* ROTARY ENCODER
* This contains my general rotary encoder code
@ -54,7 +53,7 @@ void keyboard_post_init_encoder(void) {
bool encoder_update_user(uint8_t index, bool clockwise) {
// Differentiate layer roles
switch (get_highest_layer(layer_state)) {
#ifdef RGB_MATRIX_ENABLE
# ifdef RGB_MATRIX_ENABLE
case _MEDI:
switch(userspace_config.encoder[index].rgb) {
case 0: // Effect the RGB mode
@ -94,8 +93,8 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
break;
}
break;
#endif
#ifdef MOUSEKEY_ENABLE
# endif // RGB_MATRIX_ENABLE
# ifdef MOUSEKEY_ENABLE
case _MOUS:
switch(userspace_config.encoder[index].point) {
case 0: // Move mouse on horizontal axis
@ -128,7 +127,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
break;
}
break;
#endif
# endif // MOUSEKEY_ENABLE
default:
switch(userspace_config.encoder[index].base) {
case 0: // Volume
@ -203,7 +202,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
void encoder_click_action(uint8_t index) {
// Differentiate layer roles
switch (get_highest_layer(layer_state)) {
#ifdef RGB_MATRIX_ENABLE
# ifdef RGB_MATRIX_ENABLE
case _MEDI:
switch(userspace_config.encoder[index].rgb) {
case 0: // Return to no animation
@ -215,14 +214,14 @@ void encoder_click_action(uint8_t index) {
rgb_matrix_increase_val_noeeprom();
break;
case 4: // Toggle velocikey
#ifdef VELOCIKEY_ENABLE
# ifdef VELOCIKEY_ENABLE
velocikey_toggle();
#endif
# endif // VELOCIKEY_ENABLE
break;
}
break;
#endif
#ifdef MOUSEKEY_ENABLE
# endif // RGB_MATRIX_ENABLE
# ifdef MOUSEKEY_ENABLE
case _MOUS:
switch(userspace_config.encoder[index].point) {
case 0: // Left click
@ -237,7 +236,7 @@ void encoder_click_action(uint8_t index) {
break;
}
break;
#endif
# endif // MOUSEKEY_ENABLE
default:
switch(userspace_config.encoder[index].base) {
case 0: // Toggle mute
@ -284,18 +283,18 @@ bool process_record_encoder(uint16_t keycode, keyrecord_t *record) {
// If shifted, move mode one point forward
if (get_mods() & MOD_MASK_SHIFT) {
switch (get_highest_layer(layer_state)) {
#ifdef RGB_MATRIX_ENABLE
# ifdef RGB_MATRIX_ENABLE
case _MEDI:
userspace_config.encoder[encoder_index].rgb =
(userspace_config.encoder[encoder_index].rgb + 1) % 5;
break;
#endif
#ifdef MOUSEKEY_ENABLE
# endif // RGB_MATRIX_ENABLE
# ifdef MOUSEKEY_ENABLE
case _MOUS:
userspace_config.encoder[encoder_index].point =
(userspace_config.encoder[encoder_index].point + 1) % 4;
break;
#endif
# endif // MOUSEKEY_ENABLE
default:
userspace_config.encoder[encoder_index].base =
(userspace_config.encoder[encoder_index].base + 1) % 9;
@ -304,18 +303,18 @@ bool process_record_encoder(uint16_t keycode, keyrecord_t *record) {
// If ctrl is active, move mode one point backwards
} else if (get_mods() & MOD_MASK_CTRL) {
switch (get_highest_layer(layer_state)) {
#ifdef RGB_MATRIX_ENABLE
# ifdef RGB_MATRIX_ENABLE
case _MEDI:
userspace_config.encoder[encoder_index].rgb =
(userspace_config.encoder[encoder_index].rgb + 5 - 1) % 5;
break;
#endif
#ifdef MOUSEKEY_ENABLE
# endif // RGB_MATRIX_ENABLE
# ifdef MOUSEKEY_ENABLE
case _MOUS:
userspace_config.encoder[encoder_index].point =
(userspace_config.encoder[encoder_index].point + 4 - 1) % 4;
break;
#endif
# endif // MOUSEKEY_ENABLE
default:
userspace_config.encoder[encoder_index].base =
(userspace_config.encoder[encoder_index].base + 9 - 1) % 9;


+ 0
- 1
users/bbaserdem/bb-encoder.h View File

@ -14,7 +14,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "bbaserdem.h"


+ 6
- 6
users/bbaserdem/bb-macro.c View File

@ -14,8 +14,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "bb-macro.h"
/* MACRO Definitions
* This file has my macros/unicodes
* Hooks for other functionality to inject itself into the process_record
@ -28,8 +28,8 @@ qk_tap_dance_action_t tap_dance_actions[] = {
// Music playback speed modulator
[TD_AUDIO_TEMPO] = ACTION_TAP_DANCE_DOUBLE(MU_SLOW, MU_FAST),
};
#endif
#endif
#endif // AUDIO_ENABLE
#endif // TAP_DANCE_ENABLE
// Unicode definitions; for single character keys
// We mask their definitions if unicode is not enabled
@ -74,7 +74,7 @@ const uint32_t PROGMEM unicode_map[] = {
[ANGSTROM] = 0x212B, //
[BITCOIN] = 0x20BF //
};
#endif
#endif // UNICODEMAP_ENABLE
// Keycodes
bool process_record_macro(uint16_t keycode, keyrecord_t *record) {
@ -131,7 +131,7 @@ bool process_record_macro(uint16_t keycode, keyrecord_t *record) {
}
return false; break;
// Unicode macros
#ifdef UNICODEMAP_ENABLE
# ifdef UNICODEMAP_ENABLE
case TR_FLAG:
// Turkish flag
if (record->event.pressed) {
@ -150,7 +150,7 @@ bool process_record_macro(uint16_t keycode, keyrecord_t *record) {
send_unicode_hex_string("253B 2501 253B FE35 0020 005C 0028 00B0 25A1 00B0 0029 002F 0020 FE35 0020 253B 2501 253B");
}
return false; break;
#endif
# endif // UNICODEMAP_ENABLE
}
return true;
}

+ 4
- 4
users/bbaserdem/bb-macro.h View File

@ -14,9 +14,9 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "bbaserdem.h"
/* This header file contains definitons regarding custom keycodes.
* - Both regular and unicode macros are dealt with in this file
*/
@ -101,7 +101,7 @@ enum userspace_unicodemap {
LOW_PSI,
LOW_OMEGA,
};
#endif
#endif // UNICODEMAP_ENABLE
// Tap dance stuff
#ifdef AUDIO_ENABLE
@ -109,5 +109,5 @@ enum userspace_unicodemap {
enum {
TD_AUDIO_TEMPO,
};
#endif
#endif
#endif // AUDIO_ENABLE
#endif // TAP_DANCE_ENABLE

+ 0
- 1
users/bbaserdem/bb-oled-extra.c View File

@ -14,7 +14,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "bb-oled.h"
#include "bb-oled-extra.h"


+ 1
- 1
users/bbaserdem/bb-oled.c View File

@ -14,8 +14,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "bb-oled.h"
#include <string.h>
// Grab the print function
#ifdef ENCODER_ENABLE


+ 3
- 3
users/bbaserdem/bb-rgb.c View File

@ -113,7 +113,7 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
}
// Hook into shutdown code to make all perkey LED's red on hitting reset
void shutdown_keylight(void) {
void shutdown_rgb(void) {
// Flash all the key LED's red on shutdown
uint16_t timer_start = timer_read();
rgb_matrix_set_color_all(RGB_CORAL);
@ -122,9 +122,9 @@ void shutdown_keylight(void) {
}
// Hook into suspend code
void suspend_power_down_keylight(void) {
void suspend_power_down_rgb(void) {
rgb_matrix_set_suspend_state(true);
}
void suspend_wakeup_init_keylight(void) {
void suspend_wakeup_init_rgb(void) {
rgb_matrix_set_suspend_state(false);
}

+ 3
- 3
users/bbaserdem/bb-rgb.h View File

@ -23,6 +23,6 @@
// For custom indicators
void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max);
// Hook into shutdown code
void shutdown_keylight(void);
void suspend_wakeup_init_keylight(void);
void suspend_power_down_keylight(void);
void shutdown_rgm(void);
void suspend_wakeup_init_rgb(void);
void suspend_power_down_rgb(void);

+ 17
- 17
users/bbaserdem/bbaserdem.c View File

@ -131,22 +131,22 @@ __attribute__ ((weak)) void keyboard_post_init_user(void) {
// Backlight LED
# ifdef BACKLIGHT_ENABLE
keyboard_post_init_backlight();
# endif
# endif // BACKLIGHT_ENABLE
// RGB underglow
# ifdef RGBLIGHT_ENABLE
keyboard_post_init_underglow();
# endif
# endif // RGBLIGHT_ENABLE
// Encoders
# ifdef ENCODER_ENABLE
keyboard_post_init_encoder();
# endif
# endif // ENCODER_ENABLE
// Unicode mode
# ifdef UNICODEMAP_ENABLE
set_unicode_input_mode(UC_LNX);
# endif
# endif // UNICODEMAP_ENABLE
// Keymap specific stuff
keyboard_post_init_keymap();
@ -233,11 +233,11 @@ layer_state_t layer_state_set_user(layer_state_t state) {
// For underglow stuff
# ifdef RGBLIGHT_ENABLE
state = layer_state_set_underglow(state);
# endif
# endif // RGBLIGHT_ENABLE
// Audio playback
# ifdef AUDIO_ENABLE
state = layer_state_set_audio(state);
# endif
# endif // AUDIO_ENABLE
return state;
}
@ -277,17 +277,17 @@ __attribute__ ((weak)) void suspend_power_down_keymap (void) { }
void suspend_power_down_user(void) {
suspend_power_down_keymap();
// RGB matrix sleep hook
#ifdef RGB_MATRIX_ENABLE
suspend_power_down_keylight();
#endif
# ifdef RGB_MATRIX_ENABLE
suspend_power_down_rgb();
# endif // RGB_MATRIX_ENABLE
}
__attribute__ ((weak)) void suspend_wakeup_init_keymap (void) { }
void suspend_wakeup_init_user(void) {
suspend_wakeup_init_keymap();
// RGB matrix sleep hook
#ifdef RGB_MATRIX_ENABLE
suspend_wakeup_init_keylight();
#endif
# ifdef RGB_MATRIX_ENABLE
suspend_wakeup_init_rgb();
# endif // RGB_MATRIX_ENABLE
}
/*------------------*\
@ -298,13 +298,13 @@ void suspend_wakeup_init_user(void) {
__attribute__ ((weak)) void shutdown_keymap (void) { }
void shutdown_user(void) {
// Underglow LED hook on boot
#ifdef RGBLIGHT_ENABLE
# ifdef RGBLIGHT_ENABLE
shutdown_underglow();
#endif
# endif // RGBLIGHT_ENABLE
// Perkey led hook on boot
#ifdef RGB_MATRIX_ENABLE
shutdown_keylight();
#endif
# ifdef RGB_MATRIX_ENABLE
shutdown_rgb();
# endif // RGB_MATRIX_ENABLE
// Keymap hooks
shutdown_keymap();
}

+ 26
- 26
users/bbaserdem/bbaserdem.h View File

@ -30,28 +30,28 @@
#include "bb-macro.h"
// Audio from onboard speakers
#ifdef AUDIO_ENABLE
#include "bb-audio.h"
#endif
#include "bb-audio.h"
#endif // AUDIO_ENABLE
// Keycap backlight using non-rgb LEDs
#ifdef BACKLIGHT_ENABLE
#include "bb-backlight.h"
#endif
#include "bb-backlight.h"
#endif // BACKLIGHT_ENABLE
// Underglow light using rgb LEDs
#ifdef RGBLIGHT_ENABLE
#include "bb-underglow.h"
#endif
#include "bb-underglow.h"
#endif // RGBLIGHT_ENABLE
// Keycap backlight using rgb LEDs
#ifdef RGB_MATRIX_ENABLE
#include "bb-rgb.h"
#endif
#include "bb-rgb.h"
#endif // RGB_MATRIX_ENABLE
// Rotary encoder
#ifdef ENCODER_ENABLE
#include "bb-encoder.h"
#endif
#include "bb-encoder.h"
#endif // ENCODER_ENABLE
// Oled screen
#ifdef OLED_ENABLE
#include "bb-oled.h"
#endif
#include "bb-oled.h"
#endif // OLED_ENABLE
// Structure to keep runtime info on encoder state
typedef union {
@ -104,10 +104,10 @@ void suspend_wakeup_init_keymap(void);
void shutdown_keymap(void);
// Make it so that keymaps can use KEYMAP_SAFE_RANGE for custom keycodes
#if defined(KEYMAP_SAFE_RANGE)
#define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
#ifdef KEYMAP_SAFE_RANGE
#define PLACEHOLDER_SAFE_RANGE KEYMAP_SAFE_RANGE
#else
#define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
#define PLACEHOLDER_SAFE_RANGE SAFE_RANGE
#endif
// Custom macro keycode ranges
@ -126,16 +126,16 @@ enum userspace_custom_keycodes {
BB_LENY,
BB_TABL,
TR_FLAG,
# endif
# endif // UNICODEMAP_ENABLE
// Encoder buttons
# ifdef ENCODER_ENABLE
BB_ENC0,
BB_ENC1,
# endif
# endif // ENCODER_ENABLE
// Oled editor
# ifdef OLED_ENABLE
BB_OLED,
# endif
# endif // OLED_ENABLE
//use for keymap specific codes
KEYMAP_SAFE_RANGE
};
@ -144,11 +144,11 @@ enum userspace_custom_keycodes {
#define BB_LENY KC_NO
#define BB_TABL KC_NO
#define TR_FLAG KC_NO
#endif
#endif // UNICODEMAP_ENABLE
#ifndef ENCODER_ENABLE
#define BB_ENC0 KC_NO
#define BB_ENC1 KC_NO
#endif
#endif // ENCODER_ENABLE
/// Enumerate of layers
enum userspace_layers {
@ -213,10 +213,10 @@ enum userspace_layers {
#define BB_SND MU_ON
#ifdef TAP_DANCE_ENABLE
#define MU_TEMP TD(TD_AUDIO_TEMPO)
#else
#else // TAP_DANCE_ENABLE
#define MU_TEMP KC_DOWN
#endif
#else
#endif // TAP_DANCE_ENABLE
#else // AUDIO_ENABLE
#define MU_REC KC_NO
#define MU_STOP KC_NO
#define MU_PLAY KC_NO
@ -225,7 +225,7 @@ enum userspace_layers {
#define MU_SLOW KC_NO
#define MU_MASK KC_NO
#define BB_SND KC_MUTE
#endif
#endif // AUDIO_ENABLE
// Unicode keys
#ifdef UNICODEMAP_ENABLE
@ -267,7 +267,7 @@ enum userspace_layers {
#define BB_PLNK X(PLANCK_CON)
#define BB_ANGS X(ANGSTROM)
#define BB_BITC X(BITCOIN)
#else
#else // UNICODEMAP_ENABLE
#define TR_ACIR KC_A
#define TR_CCED KC_C
#define TR_GBRE KC_G
@ -306,7 +306,7 @@ enum userspace_layers {
#define BB_PLNK KC_NO
#define BB_ANGS KC_NO
#define BB_BITC KC_NO
#endif
#endif // UNICODEMAP_ENABLE
// MOD-tap definitions
#define GUI_A MT(MOD_LGUI, DV_A)


+ 11
- 11
users/bbaserdem/config.h View File

@ -27,11 +27,11 @@
# undef LOCKING_RESYNC_ENABLE
#endif
#ifndef NO_DEBUG
#define NO_DEBUG
# define NO_DEBUG
#endif
#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
#define NO_PRINT
# define NO_PRINT
#endif
// Split transport settings
@ -44,11 +44,11 @@
# define SPLIT_LED_STATE_ENABLE
# ifdef WPM_ENABLE
# define SPLIT_WPM_ENABLE
# endif
# endif // WPM_ENABLE
# ifdef OLED_ENABLE
# define SPLIT_OLED_ENABLE
# endif
#endif
# endif // OLED_ENABLE
#endif // SPLIT_KEYBOARD
// Unicode entry mode
#ifdef UNICODEMAP_ENABLE
@ -58,12 +58,12 @@
# undef UNICODE_KEY_LNX
# endif
# define UNICODE_KEY_LNX LCTL(LSFT(KC_F))
#endif
#endif // UNICODEMAP_ENABLE
// Mousekey mode
#ifdef MOUSEKEY_ENABLE
# define MK_COMBINED
#endif
#endif // MOUSEKEY_ENABLE
// Tap-hold settings
#define TAPPING_TERM 200
@ -76,7 +76,7 @@
#ifdef BACKLIGHT_ENABLE
# define BACKLIGHT_BREATHING
# define BREATHING_PERIOD 5
#endif
#endif // BACKLIGHT_ENABLE
// Audio definitions
#ifdef AUDIO_ENABLE
@ -105,7 +105,7 @@
# else
# define GAME_OFF_SONG SONG(NOCTURNE_OP_9_NO_1)
# endif
#endif
#endif // AUDIO_ENABLE
// OLED definitions
#ifdef OLED_ENABLE
@ -114,7 +114,7 @@
// Fade out the screen when timing out
# define OLED_FADE_OUT
# define OLED_FADE_OUT_INTERVAL 5
#endif
#endif // OLED_ENABLE
// For perkey leds
#ifdef RGB_MATRIX_ENABLE
@ -127,4 +127,4 @@
// Some config options
# define RGB_MATRIX_KEYRELEASES
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS // Enable framebuffer effects
#endif
#endif // RGB_MATRIX_ENABLE

Loading…
Cancel
Save