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

[Keymap] update gunp layout for Planck #12926

Merged
merged 24 commits into from
May 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1e6075c
new version of gunp layout for planck, improve Thai input method and …
gunpinyo Aug 16, 2019
06f50eb
Merge remote-tracking branch 'upstream/master'
gunpinyo Sep 12, 2019
de0632b
use `LAYOUT_ortho_4x12` for `planck/gunp`
gunpinyo Sep 12, 2019
887d799
swap menu and ESC
gunpinyo Sep 12, 2019
606d3c6
add a picture of the layout
gunpinyo Sep 13, 2019
899641c
typo fixed
gunpinyo Sep 14, 2019
474f0e6
move the picture to my google drive
gunpinyo Sep 14, 2019
7d67a2d
fix typo
gunpinyo Sep 14, 2019
20b9c4b
minor refactor in gunp layout
gunpinyo Sep 15, 2019
6be617c
change on thai layers
gunpinyo Sep 15, 2019
74723b1
planck gunp layout: upgrade to support planck rev6
gunpinyo Jul 13, 2020
46f6e8d
Merge remote-tracking branch 'upstream/master'
gunpinyo May 16, 2021
4c7d88e
[Keymap] update gunp layout for Planck
gunpinyo May 17, 2021
d1f29ce
Merge branch 'qmk:master' into master
gunpinyo May 17, 2021
95ec3a1
[Keymap] update gunp layout for Planck (fix last commit typo)
gunpinyo May 17, 2021
9a07102
Merge branch 'master' of https://github.com/gunpinyo/qmk_firmware
gunpinyo May 17, 2021
b5ec875
[Keymap] update gunp layout for Planck (add GPLv2 to `keymap.c`)
gunpinyo May 17, 2021
f1564a5
[Keymap] update gunp layout for Planck (add GPLv2 to `config.h`)
gunpinyo May 17, 2021
0f929c1
[Keymap] update gunp layout for Planck (minor update)
gunpinyo May 18, 2021
4d4bfce
Update keyboards/planck/keymaps/gunp/rules.mk
gunpinyo May 26, 2021
5701035
Update keyboards/planck/keymaps/gunp/rules.mk
gunpinyo May 26, 2021
a63ec77
Update keyboards/planck/keymaps/gunp/rules.mk
gunpinyo May 26, 2021
01792b2
Update keyboards/planck/keymaps/gunp/rules.mk
gunpinyo May 26, 2021
ac31ebb
Correct file permission of keyboards/planck/keymaps/gunp/*
gunpinyo May 26, 2021
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
56 changes: 22 additions & 34 deletions keyboards/planck/keymaps/gunp/config.h
Original file line number Diff line number Diff line change
@@ -1,39 +1,27 @@
#ifndef CONFIG_USER_H
#define CONFIG_USER_H

#include "../../config.h"

#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
// #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)

/*
* MIDI options
/* Copyright 2021 Gun Pinyo
*
* 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/>.
*/

/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/

#define MIDI_BASIC
#pragma once

/* 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
/* Tapping this number of times holds the key until tapped once again. */
#define ONESHOT_TAP_TOGGLE 7
/* Time (in ms) before the one shot key is released */
#define ONESHOT_TIMEOUT 5000

/* Audio */
#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
#endif
Loading