Skip to content

Commit

Permalink
Keymap: Hacker Dvorak (qmk#4514)
Browse files Browse the repository at this point in the history
* Hacker Dvorak

Programmer Dvorak based layout for the Ergodox EZ.

* Address drashna comments.

* Fix RGB and drop OSL for MO.

* Add gulp file to automate development.

* Fix gulpfile.

* Caps, num and scroll lock indicators.

* Fix scroll lock.
  • Loading branch information
Ismael-VC authored and ishtob committed Jan 1, 2019
1 parent 6b32c9d commit 92d62d0
Show file tree
Hide file tree
Showing 10 changed files with 1,039 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keyboards/ergodox_ez/keymaps/hacker_dvorak/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
package-lock.json
82 changes: 82 additions & 0 deletions keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
/*
Set any config.h overrides for your specific keymap here.
See config.h options at https://docs.qmk.fm/#/config_options?id=the-configh-file
*/
#pragma once


/* Keyboard Settings */
#undef TAPPING_TERM
#define TAPPING_TERM 150

#undef DEBOUNCE
#define DEBOUNCE 10

#undef IGNORE_MOD_TAP_INTERRUPT
#define IGNORE_MOD_TAP_INTERRUPT

#undef FORCE_NKRO
#define FORCE_NKRO

/* This isn't defined by default, so there is no need to undefine it first. */
#define LEADER_TIMEOUT 500
#define PERMISSIVE_HOLD
#define QMK_KEYS_PER_SCAN 4


// RGB Lights
#undef RGBLIGHT_HUE_STEP
#define RGBLIGHT_HUE_STEP 24

#undef RGBLIGHT_SAT_STEP
#define RGBLIGHT_SAT_STEP 24

#undef RGBLIGHT_VAL_STEP
#define RGBLIGHT_VAL_STEP 24

#undef RGBLIGHT_BRI_STEP
#define RGBLIGHT_BRI_STEP 24

#undef RGBLIGHT_LIMIT_VAL
#define RGBLIGHT_LIMIT_VAL 255

/* This isn't defined by default, so there is no need to undefine it first. */
#define RGBLIGHT_SLEEP


// Mouse
#undef MOUSEKEY_INTERVAL
#define MOUSEKEY_INTERVAL 10

#undef MOUSEKEY_DELAY
#define MOUSEKEY_DELAY 15

#undef MOUSEKEY_MAX_SPEED
#define MOUSEKEY_MAX_SPEED 15

#undef MOUSEKEY_TIME_TO_MAX
#define MOUSEKEY_TIME_TO_MAX 150

#undef MOUSEKEY_WHEEL_MAX_SPEED
#define MOUSEKEY_WHEEL_MAX_SPEED 15

#undef MOUSEKEY_WHEEL_TIME_TO_MAX
#define MOUSEKEY_WHEEL_TIME_TO_MAX 150


/* This is defined only if CONSOLE_ENABLE is set to "yes" */
// #undef NO_DEBUG
// #define NO_DEBUG

// #undef NO_PRINT
// #define NO_PRINT

/* For COMBO only*/
// #define COMBO_COUNT 1
// #define COMBO_TERM 200

/* For tap toggle */
// #define TAPPING_TOGGLE 2
// #define ONESHOT_TAP_TOGGLE 2
// #define ONESHOT_TIMEOUT 300

1 change: 1 addition & 0 deletions keyboards/ergodox_ez/keymaps/hacker_dvorak/default.png.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://i.imgur.com/fKX0Zbs.png
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://i.imgur.com/giAc3M9.jpg
13 changes: 13 additions & 0 deletions keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
let gulp = require('gulp');
let run = require('gulp-run-command').default;


gulp.task('clean', run('rm -rf ../../../../.build'));

gulp.task('build', ['clean'], run('make -C ../../../../ ergodox_ez:hacker_dvorak', {
ignoreErrors: true
}));

gulp.task('watch', ['build'], () => {
gulp.watch(['keymap.c', 'config.h', 'rules.mk'], ['build']);
});
Loading

0 comments on commit 92d62d0

Please sign in to comment.