Turkish planck keymap (#1675)
* Adding keymap * Adding keymap * Compiles now, but doesn't flash * Fixes issues with compilation * Trying to fix issues with tap-dance layer * Trying to fix issues with tap-dance layer * Trying to fix issues with tap-dance layer * Fixed bbaserdem layout * Added keyboard layout image * Edited README.md * Changed layout and removed image from README.md * Changed tapping terms * Changed layout a bit
This commit is contained in:

committed by
Jack Humbert

parent
ea7792b6c6
commit
31e78d22b4
23
keyboards/planck/keymaps/bbaserdem/Makefile
Normal file
23
keyboards/planck/keymaps/bbaserdem/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# Build options
|
||||
|
||||
# ENABLE
|
||||
TAP_DANCE_ENABLE = yes
|
||||
UNICODE_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = yes
|
||||
EXTRAKEY_ENABLE = yes
|
||||
NKRO_ENABLE = yes
|
||||
BACKLIGHT_ENABLE = yes
|
||||
AUDIO_ENABLE = yes
|
||||
|
||||
# DISABLE
|
||||
BOOTMAGIC_ENABLE = no
|
||||
MIDI_ENABLE = no
|
||||
|
||||
# Not for planck
|
||||
RGBLIGHT_ENABLE = no #Clashes with audio
|
||||
BLUETOOTH_ENABLE = no #No bluetooth
|
||||
SLEEP_LED_ENABLE = no #Uses BACKLIGHT_ENABLE rimer
|
||||
|
||||
ifndef QUANTUM_DIR
|
||||
include ../../../../Makefile
|
||||
endif
|
35
keyboards/planck/keymaps/bbaserdem/README.md
Normal file
35
keyboards/planck/keymaps/bbaserdem/README.md
Normal file
@ -0,0 +1,35 @@
|
||||
# Planck Layout
|
||||
|
||||
Built this planck layout to use DVORAK with an unorthodox Turkish layout.
|
||||
If you used a previous layout with a persistent base layer change,
|
||||
change it to 0 before proceeding.
|
||||
The layout has the following functionality
|
||||
|
||||
* **QWERTY** can be toggled on/off from **Function** layer.
|
||||
* **Mouse** layer allows manipulation of the mouse.
|
||||
* **Function** layer has F and special keys.
|
||||
* **Symbol** layer has numericals and symbols.
|
||||
* **Game** layout can be toggled on/off from **Function** layer.
|
||||
* **Music** layer allows playing sounds like a keyboard.
|
||||
|
||||
Double tapping **Mouse**, **Function** and **Symbol** layers activate them until deacivation.
|
||||
Topleftmost key turns off **Function**, **Symbol**, **Game** and **Music** layers,
|
||||
and puts the board into *reset* mode from the **Mouse** layer.
|
||||
|
||||
# Using Turkish letters
|
||||
|
||||
Instead of a turkish F keyboard layout (very inconvenient to code in),
|
||||
I opted to modulate characters like an *AltGr* impleentation.
|
||||
Tap and holding *Alt* on **DVORAK** and **QWERTY** layer will change some letters
|
||||
to Turkish equivelants.
|
||||
Shifting these letters will work.
|
||||
The keycodes should transmit the correct unicode characters combined with shift.
|
||||
The turkish letters are sent via the unicode implementation.
|
||||
No software layout change is neccessary (hence making coding easier).
|
||||
By default, the unicode is set to Linux mode. Switch to windows (non-persistent)
|
||||
can be done from the associated key in **Function** layer.
|
||||
**Symbol** layer also has the symbol for Turkish Lira.
|
||||
|
||||
# To improve
|
||||
|
||||
I want to write a couple pieces of my own music for layer switching.
|
44
keyboards/planck/keymaps/bbaserdem/config.h
Normal file
44
keyboards/planck/keymaps/bbaserdem/config.h
Normal file
@ -0,0 +1,44 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
// Compose own song in future
|
||||
#define STARTUP_SONG SONG(PLANCK_SOUND)
|
||||
|
||||
#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
|
||||
SONG(COLEMAK_SOUND), \
|
||||
SONG(DVORAK_SOUND) \
|
||||
}
|
||||
#endif
|
||||
|
||||
// Enables tap magic
|
||||
#define TAPPING_TERM 300
|
||||
#define TAPPING_TOGGLE 1
|
||||
|
||||
/*
|
||||
* MIDI options
|
||||
*/
|
||||
|
||||
/* Prevent use of disabled MIDI features in the keymap */
|
||||
//#define MIDI_ENABLE_STRICT 1
|
||||
|
||||
/* enable basic MIDI features:
|
||||
- MIDI notes can be sent when in Music mode is on
|
||||
*/
|
||||
|
||||
#define MIDI_BASIC
|
||||
|
||||
/* enable advanced MIDI features:
|
||||
- MIDI notes can be added to the keymap
|
||||
- Octave shift and transpose
|
||||
- Virtual sustain, portamento, and modulation wheel
|
||||
- etc.
|
||||
*/
|
||||
//#define MIDI_ADVANCED
|
||||
|
||||
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
||||
//#define MIDI_TONE_KEYCODE_OCTAVES 2
|
||||
|
||||
#endif
|
413
keyboards/planck/keymaps/bbaserdem/keymap.c
Normal file
413
keyboards/planck/keymaps/bbaserdem/keymap.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user