Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preonic/kjwon15 layout #6812

Merged
merged 30 commits into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d3655ff
Add my custom keymap
tribela Mar 1, 2019
c71c37c
Remove del key on left, Add pscr
tribela Apr 14, 2019
487cf05
Move Audio MOD key to pass ctrl
tribela May 1, 2019
6e2f181
Change startup song
tribela May 2, 2019
07e3d35
Enable clicky sound
tribela May 2, 2019
f819d1b
Swap alt and gui
tribela May 2, 2019
dca6dbd
Fix semitones
tribela May 2, 2019
f95d119
Add mouse layer
tribela May 28, 2019
4723635
Change startup song
tribela May 28, 2019
1b5c43f
Add ctrl key to ctrl+click
tribela Jun 9, 2019
61dbc48
Move media keys to restore raise number keys
tribela Jun 9, 2019
939e397
Move mouse key layer switch
tribela Jun 9, 2019
5479baf
Swap media keys as normal
tribela Jun 9, 2019
5f6cd3f
Fix music map
tribela Jun 13, 2019
741cd7f
Move mouse speed limit to correct position
tribela Jun 15, 2019
7f88996
Move prtscr
tribela Jun 22, 2019
2f78098
Align keycodes
tribela Aug 17, 2019
af49d00
Add ctrl/esc, swap smart space keys
tribela Aug 30, 2019
bc03ec9
Change colemak, dvorak into custom layout
tribela Aug 30, 2019
d5b0190
Fix pure mode (left space)
tribela Aug 30, 2019
4e38781
Fix mouse mode interrupt
tribela Sep 6, 2019
2e6c1f4
Add Middle mouse click
tribela Sep 24, 2019
8267ca7
Add Lefthand mouse scroll
tribela Sep 24, 2019
f9921ce
Temporarily disable mouse speed
tribela Sep 25, 2019
2e4fa7b
Rename custom layout to kjwon15
tribela Sep 25, 2019
4115a79
Change readme
tribela Sep 25, 2019
fabe1b7
Apply suggestions from code review
tribela Sep 25, 2019
892bb07
Apply suggestions from code review
tribela Sep 25, 2019
f76e203
Apply suggestions from code review
tribela Sep 25, 2019
34a5a1c
Update from default keymap's function
tribela Sep 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions keyboards/preonic/keymaps/kjwon15/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
#pragma once


#define TAPPING_TERM 200

/* #define MK_3_SPEED */
#define MK_MOMENTARY_ACCEL
#define MOUSEKEY_MAX_SPEED 8

// Must raise 5 halftones
/* #define CUSTOM_STARTUP \ */
/* Q__NOTE(_FS7), \ */
/* W__NOTE(_B7), */

#undef MUSICAL_NOTE
#define MUSICAL_NOTE(note, duration) {((NOTE##note) * 1.3348398541700344), duration}

#define CUSTOM_STARTUP \
QD_NOTE(_A6), \
QD_NOTE(_C7), \
QD_NOTE(_A7), \
QD_NOTE(_F7), \
QD_NOTE(_G7), \
HD_NOTE(_C8),

#undef MUSICAL_NOTE
#define MUSICAL_NOTE(note, duration) {(NOTE##note), duration}

#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(CUSTOM_STARTUP)
// #define STARTUP_SONG SONG(NO_SOUND)

#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
SONG(COLEMAK_SOUND), \
SONG(DVORAK_SOUND) \
}
#endif

#define MUSIC_MASK (keycode != KC_NO)

#define AUDIO_CLICKY
#define AUDIO_CLICKY_FREQ_DEFAULT 440.f

/*
* 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

Loading