Skip to content

Commit

Permalink
[Keyboard] Convert Corne Keyboard to Split Common
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Jul 28, 2019
1 parent c9424eb commit 0b00419
Show file tree
Hide file tree
Showing 21 changed files with 301 additions and 1,526 deletions.
11 changes: 0 additions & 11 deletions keyboards/crkbd/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once

#include "config_common.h"
#include <serial_config.h>

#define USE_I2C
#define USE_SERIAL

#ifdef USE_Link_Time_Optimization
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
// so just disable them
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION

#define DISABLE_LEADER
#endif // USE_Link_Time_Optimization
162 changes: 0 additions & 162 deletions keyboards/crkbd/i2c.c

This file was deleted.

46 changes: 0 additions & 46 deletions keyboards/crkbd/i2c.h

This file was deleted.

44 changes: 44 additions & 0 deletions keyboards/crkbd/keymaps/OLED_sample/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <[email protected]>
Copyright 2015 Jack Humbert
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/>.
*/

#pragma once

//#define USE_MATRIX_I2C

/* Select hand configuration */

#define MASTER_LEFT
// #define MASTER_RIGHT
// #define EE_HANDS

#define USE_SERIAL_PD2

#define TAPPING_FORCE_HOLD
#define TAPPING_TERM 100

#undef RGBLED_NUM
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 27
#define RGBLIGHT_LIMIT_VAL 120
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17

#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
Loading

0 comments on commit 0b00419

Please sign in to comment.