Skip to content

Commit

Permalink
akif layout template for qol56 added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ardakilic committed Sep 10, 2024
1 parent cd47de9 commit bb2fc17
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 20 deletions.
13 changes: 3 additions & 10 deletions keyboards/eswai/qol56/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0000
#define DEVICE_VER 0x0001
#define MANUFACTURER eswai
#define PRODUCT QOL56
#define DESCRIPTION 14x4 Quasi-Ortholinear keyboard

#define USB_MAX_POWER_CONSUMPTION 100

Expand All @@ -45,7 +39,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define MATRIX_ROW_PINS { B6, C6, D7, D3, F6, D0, B5, F5 }
#define MATRIX_COL_PINS { D4, E6, B4, B2, B3, B1, F7 }
#define UNUSED_PINS

/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
Expand All @@ -59,8 +52,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define BACKLIGHT_BREATHING
// #define BACKLIGHT_LEVELS 3

#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
#define WS2812_DI_PIN D2
#ifdef WS2812_DI_PIN
#define RGBLED_NUM 71
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
Expand All @@ -83,7 +76,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCING_DELAY 5
#define DEBOUNCE 5

/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
Expand Down
42 changes: 32 additions & 10 deletions keyboards/eswai/qol56/info.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
{
"keyboard_name": "QOL56",
"url": "",
"maintainer": "qmk",
"width": 14,
"height": 4.25,
"layouts": {
"LAYOUT": {
"layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"-", "x":6, "y":0}, {"label":"+", "x":7, "y":0}, {"label":"Y", "x":8, "y":0}, {"label":"U", "x":9, "y":0}, {"label":"I", "x":10, "y":0}, {"label":"O", "x":11, "y":0}, {"label":"P", "x":12, "y":0}, {"label":"Back Space", "x":13, "y":0}, {"label":"Ctrl", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"[", "x":6, "y":1}, {"label":"]", "x":7, "y":1}, {"label":"H", "x":8, "y":1}, {"label":"J", "x":9, "y":1}, {"label":"K", "x":10, "y":1}, {"label":"L", "x":11, "y":1}, {"label":";", "x":12, "y":1}, {"label":"Ctrl", "x":13, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"`", "x":6, "y":2}, {"label":"'", "x":7, "y":2}, {"label":"N", "x":8, "y":2}, {"label":"M", "x":9, "y":2}, {"label":",", "x":10, "y":2}, {"label":".", "x":11, "y":2}, {"label":"/", "x":12, "y":2}, {"label":"Alt", "x":13, "y":2}, {"label":"Adjust", "x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"label":"&larr;", "x":10, "y":3}, {"label":"&darr;", "x":11, "y":3}, {"label":"&uarr;", "x":12, "y":3}, {"label":"&rarr;", "x":13, "y":3}, {"label":"&dArr;", "x":4, "y":3.25}, {"label":"Shift", "x":5, "y":3.25}, {"x":6, "y":3.25}, {"label":"Enter", "x":7, "y":3.25}, {"label":"Shift", "x":8, "y":3.25}, {"label":"&uArr;", "x":9, "y":3.25}]
}
}
"keyboard_name": "Qol56",
"manufacturer": "eswai",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x4654",
"pid": "0x0001",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
},
"features": {
"bootmagic": true,
"extrakey": true,
"lto": true,
"mousekey": true,
"nkro": true,
"oled": true
},
"build": {
"lto": true
},
"matrix_pins": {
"cols": [ "B6", "C6", "D7", "D3", "F6", "D0", "B5", "F5" ],
"rows": [ "D4", "E6", "B4", "B2", "B3", "B1", "F7" ]
},
"diode_direction": "COL2ROW",
"split": {
"enabled": false
},
"processor": "atmega32u4"
}
19 changes: 19 additions & 0 deletions keyboards/eswai/qol56/keymaps/akif/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/* Copyright 2019 eswai
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* 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

// place overrides here
76 changes: 76 additions & 0 deletions keyboards/eswai/qol56/keymaps/akif/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/* Copyright 2019 eswai
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* 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 QMK_KEYBOARD_H


enum thelayers {
_QWERTY,
_FN
};



// KC_NUBS (\|) is equivalent to ["é] key in Turkish keyboards.
// KC_GRV (~ `) is equivalent to [<>|] key in Turkish keyboards.
// KC_SCLN is Turkish s [şŞ] key
// KC_QUOT is Turkish i [iİ] key
// KC_COMM is Turkish o [öÖ] key
// KC_DOT is Turkish c [çÇ] key

// Defines for task manager and such
#define CALTDEL LCTL(LALT(KC_DEL))
#define TSKMGR LCTL(LSFT(KC_ESC))

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/* Qwerty
* ,-------------------------------------------------------------------------------------------------.
* | Esc | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bksp |
* |------+------+------+------+------+------+------+------+------+------+------+------+------+------|
* | Tab | A | S | D | F | G | H | J | K | L | Ş | İ | Enter| \ |
* |------+------+------+------+------+------+------+------+------+------+------+------+------+------|
* | Shift| Z | X | C | V | B | N | M | Ö | Ç | / | Shift| Up | Del |
* |------+------+------+------+------+------+------+------+------+------+------+------+------+------|
* | Ctrl | FN | Win | Alt | SPC | SPC | Space| Space| SPC | SPC | Ctrl | Left | Down | Right|
* `-------------------------------------------------------------------------------------------------'
*/
[_QWERTY] = LAYOUT(
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_BSLS,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL,
KC_LCTL, MO(_FN), KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),

/* Numpad Layer
* KC_PDOT is comma on the Turkish layout ¯\_(ツ)_/¯
* ,-------------------------------------------------------------------------------------------------.
* | | | | | | | | | | 7 | 8 | 9 | - | Bksp |
* |------+------+------+------+------+------+------+------+------+------+------+------+------+------|
* | | | | | | | | | Enter| 4 | 5 | 6 | + | * |
* |------+------+------+------+------+------+------+------+------+------+------+------+------+------|
* | | | | | | | | | Enter| 1 | 2 | 3 | + | / |
* |------+------+------+------+------+------+------+------+------+------+------+------+------+------|
* | | | | | | | | | 0 | 0 | . | , | = |
* `-------------------------------------------------------------------------------------------------'
*/
[_FN] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, KC_BSPC,
_______, _______, _______, _______, _______, _______, _______, _______, KC_PENT, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_PAST,
_______, _______, _______, _______, _______, _______, _______, _______, KC_PENT, KC_P1, KC_P2, KC_P3, KC_PPLS, KC_PSLS,
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P0, KC_P0, KC_SLSH, KC_PDOT, KC_PEQL
)

};
1 change: 1 addition & 0 deletions keyboards/eswai/qol56/keymaps/akif/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# The default keymap for qol56
10 changes: 10 additions & 0 deletions keyboards/eswai/qol56/keymaps/akif/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.

0 comments on commit bb2fc17

Please sign in to comment.