Browse Source

Merge branch 'bbaserdem-keymap' of github.com:bbaserdem/qmk_firmware into bbaserdem-keymap

pull/14484/head
Batuhan Başerdem 1 year ago
parent
commit
2a3fe1261e
8 changed files with 7 additions and 69 deletions
  1. +1
    -1
      keyboards/splitkb/kyria/keymaps/bbaserdem/readme.md
  2. +5
    -6
      layouts/community/ortho_4x12/bbaserdem/config.h
  3. +0
    -10
      layouts/community/split_3x6_3/bbaserdem/config.h
  4. +0
    -25
      layouts/community/split_3x6_3/bbaserdem/keymap.c
  5. +0
    -2
      users/bbaserdem/bb-encoder.c
  6. +0
    -16
      users/bbaserdem/bb-oled.c
  7. +1
    -0
      users/bbaserdem/bb-oled.h
  8. +0
    -9
      users/bbaserdem/config.h

+ 1
- 1
keyboards/splitkb/kyria/keymaps/bbaserdem/readme.md View File

@ -1,4 +1,4 @@
This file contains my Kyria board layout.
This folder contains my Kyria (`split_3x6_5`) board layout.
Check out the [user readme](../../../../../users/bbaserdem/readme.md) for more info.
# Kyria


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

@ -19,9 +19,8 @@
// Code pertaining to planck rev6
#ifdef KEYBOARD_planck_rev6
// Encoder I use;
#ifdef ENCODER_RESOLUTION
#undef ENCODER_RESOLUTION
#endif
#define ENCODER_RESOLUTION 2
#endif // rev6
# ifdef ENCODER_RESOLUTION
# undef ENCODER_RESOLUTION
# endif
# define ENCODER_RESOLUTION 2
#endif

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

@ -34,16 +34,6 @@
# undef USE_I2C
# undef SSD1306OLED
// Add state info transmission
# define SPLIT_LAYER_STATE_ENABLE
# define SPLIT_MODS_ENABLE
# define SPLIT_WPM_ENABLE
// Add state info transmission
# define SPLIT_LAYER_STATE_ENABLE
# define SPLIT_MODS_ENABLE
# define SPLIT_WPM_ENABLE
// Audio output on pin A5 (actualy will be output on B1 using keymap init)
# ifdef AUDIO_ENABLE
# define AUDIO_PIN A5


+ 0
- 25
layouts/community/split_3x6_3/bbaserdem/keymap.c View File

@ -21,22 +21,6 @@
# include "bb-oled-extra.h"
#endif // KEYBOARD_crkbd_rev1
#ifdef KEYBOARD_crkbd_rev1
# include "bb-oled-extra.h"
#endif // KEYBOARD_crkbd_rev1
//
/* F layout
*        
* + * F  G  Ğ  I  O          D  R  N  H  P  Q
*        
* X  A  S  D  F  G          T  K  M  L  Y  Ş 
*        
* < > J  Ö  V  C  Ç          Z  S  B . :, ; W
*  
*                TabEntEsc DelSpcBsp
*                 
*/
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_split_3x6_3_wrapper(
BB_ENC0,_BL1_5_,_BR1_5_,BB_ENC1,
@ -195,15 +179,6 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return rotation;
}
#ifdef OLED_ENABLE
// Flip the display on the right half
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
if (!is_keyboard_left()) {
return OLED_ROTATION_180;
}
return rotation;
}
bool oled_task_keymap(void) {
if (is_keyboard_left()) {
render_status_left(0, 0);


+ 0
- 2
users/bbaserdem/bb-encoder.c View File

@ -347,8 +347,6 @@ bool process_record_encoder(uint16_t keycode, keyrecord_t *record) {
} else {
userspace_config.e1point = (userspace_config.e1point + 1) % 4;
}
userspace_config.encoder[encoder_index].point =
(userspace_config.encoder[encoder_index].point + 1) % 4;
break;
# endif // MOUSEKEY_ENABLE
default:


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

@ -38,21 +38,6 @@ void oled_task_user(void) {
}
}
// Make sure oled sleeps timely
void housekeeping_task_oled(void) {
// If we are not master; sync the oled state
/*
if (!is_keyboard_master()) {
if ((userspace_runtime.oled_on) && (!is_oled_on())) {
oled_on();
} else if ((!userspace_runtime.oled_on) && (is_oled_on())) {
oled_off();
}
}
*/
}
#endif
/*-------------------------*\
|*---RENDERING FUNCTIONS---*|
\*-------------------------*/
@ -169,7 +154,6 @@ void render_keymap(uint8_t row, uint8_t col, bool isLite) {
oled_write(" ", false);
}
}
#endif // !KEYBOARD_splitkb_kyria_rev1
// Writes the currently used OLED display layout
#ifdef RGB_MATRIX_ENABLE


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

@ -15,6 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "bbaserdem.h"
// Contain the main oled writer here
void oled_task_user(void);


+ 0
- 9
users/bbaserdem/config.h View File

@ -118,15 +118,6 @@
# define OLED_FADE_OUT_INTERVAL 15
#endif // OLED_ENABLE
// OLED definitions
#ifdef OLED_ENABLE
// Timeout in one minute
# define OLED_TIMEOUT 60000
// Fade out the screen when timing out
# define OLED_FADE_OUT
# define OLED_FADE_OUT_INTERVAL 5
#endif
// For perkey leds
#ifdef RGB_MATRIX_ENABLE
// This is not working


Loading…
Cancel
Save