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

Added personal keymaps for Planck, Preonic, Vitamins Included by Juno #5169

Merged
merged 7 commits into from
Feb 28, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
46 changes: 46 additions & 0 deletions keyboards/planck/keymaps/juno/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#ifndef CONFIG_USER_H
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved
#define CONFIG_USER_H
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved

#include "config_common.h"
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved

#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

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

// Most tactile encoders have detents every 4 stages
#define ENCODER_RESOLUTION 4

// Reduce power consumption for iOS compatibility
#define USB_MAX_POWER_CONSUMPTION 100

#endif
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved
458 changes: 458 additions & 0 deletions keyboards/planck/keymaps/juno/keymap.c

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions keyboards/planck/keymaps/juno/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Juno Layout
created by Juno Nguyen
juno.ngx@gmail.com

## Feature:
* Pok3r-inspired functional layer.
* Rearranged numerics for maximum efficiency.

10 changes: 10 additions & 0 deletions keyboards/planck/keymaps/juno/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BACKLIGHT_ENABLE = yes

SRC += muse.c

MIDI_ENABLE=no
RGBLIGHT_ENABLE = no
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
42 changes: 42 additions & 0 deletions keyboards/preonic/keymaps/juno/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#ifndef CONFIG_USER_H
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved
#define CONFIG_USER_H
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved

#include "config_common.h"
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved

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

/* 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
JunoNgx marked this conversation as resolved.
Show resolved Hide resolved
Loading