diff options
Diffstat (limited to 'keyboards/fractal')
| -rwxr-xr-x | keyboards/fractal/config.h | 26 | ||||
| -rwxr-xr-x | keyboards/fractal/fractal.c | 1 | ||||
| -rwxr-xr-x | keyboards/fractal/fractal.h | 31 | ||||
| -rw-r--r-- | keyboards/fractal/info.json | 144 | 
4 files changed, 139 insertions, 63 deletions
diff --git a/keyboards/fractal/config.h b/keyboards/fractal/config.h index 31c7dd512f..5f36081323 100755 --- a/keyboards/fractal/config.h +++ b/keyboards/fractal/config.h @@ -1,33 +1,7 @@  #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B1, F7, F6, F5, F4 } -#define MATRIX_COL_PINS { B3, B2, B6, B5, B4, E6, D7, C6, D4, D0, D1, D3 } - - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW -  /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */  #define LOCKING_SUPPORT_ENABLE  /* Locking resynchronize hack */  #define LOCKING_RESYNC_ENABLE - -#ifdef RGB_DI_PIN -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 0 -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 -#endif diff --git a/keyboards/fractal/fractal.c b/keyboards/fractal/fractal.c deleted file mode 100755 index e315c7ab4b..0000000000 --- a/keyboards/fractal/fractal.c +++ /dev/null @@ -1 +0,0 @@ -#include "fractal.h" diff --git a/keyboards/fractal/fractal.h b/keyboards/fractal/fractal.h deleted file mode 100755 index 0af7c22390..0000000000 --- a/keyboards/fractal/fractal.h +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_5x12( \ -  K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ -  K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ -  K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ -  K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, \ -  K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411  \ -) { \ -  { K000,  K001,  K002,  K003,  K004,  K005,  K006,  K007,  K008,  K009,  K010,  K011 }, \ -  { K100,  K101,  K102,  K103,  K104,  K105,  K106,  K107,  K108,  K109,  K110,  K111 }, \ -  { K200,  K201,  K202,  K203,  K204,  K205,  K206,  K207,  K208,  K209,  K210,  K211 }, \ -  { K300,  K301,  K302,  K303,  K304,  K305,  K306,  K307,  K308,  K309,  K310,  K311 }, \ -  { K400,  K401,  K402,  K403,  K404,  K405,  K406,  K407,  K408,  K409,  K410,  K411 }  \ -} - -#define LAYOUT_preonic_mit( \ -  K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ -  K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \ -  K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ -  K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, \ -  K400, K401, K402, K403, K404,    K406,    K407, K408, K409, K410, K411  \ -) { \ -  { K000,  K001,  K002,  K003,  K004,  K005,  K006,  K007,  K008,  K009,  K010,  K011 }, \ -  { K100,  K101,  K102,  K103,  K104,  K105,  K106,  K107,  K108,  K109,  K110,  K111 }, \ -  { K200,  K201,  K202,  K203,  K204,  K205,  K206,  K207,  K208,  K209,  K210,  K211 }, \ -  { K300,  K301,  K302,  K303,  K304,  K305,  K306,  K307,  K308,  K309,  K310,  K311 }, \ -  { K400,  K401,  K402,  K403,  K404,  KC_NO, K406,  K407,  K408,  K409,  K410,  K411 }  \ -} diff --git a/keyboards/fractal/info.json b/keyboards/fractal/info.json index 4b98a751e4..0d2ce4aeca 100644 --- a/keyboards/fractal/info.json +++ b/keyboards/fractal/info.json @@ -8,15 +8,149 @@      "pid": "0x6060",      "device_version": "0.0.1"    }, +  "matrix_pins": { +    "cols": ["B3", "B2", "B6", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D3"], +    "rows": ["B1", "F7", "F6", "F5", "F4"] +  }, +  "diode_direction": "COL2ROW",    "processor": "atmega32u4",    "bootloader": "caterina",    "community_layouts": ["ortho_5x12"],    "layouts": {      "LAYOUT_ortho_5x12": { -      "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4}, {"x":6, "y":4}, {"x":7, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}] -      }, -      "LAYOUT_preonic_mit": { -        "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4, "w":2}, {"x":7, "y":4}, {"x":8, "y":4}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}] -        } +      "layout": [ +        {"matrix": [0, 0], "x": 0, "y": 0}, +        {"matrix": [0, 1], "x": 1, "y": 0}, +        {"matrix": [0, 2], "x": 2, "y": 0}, +        {"matrix": [0, 3], "x": 3, "y": 0}, +        {"matrix": [0, 4], "x": 4, "y": 0}, +        {"matrix": [0, 5], "x": 5, "y": 0}, +        {"matrix": [0, 6], "x": 6, "y": 0}, +        {"matrix": [0, 7], "x": 7, "y": 0}, +        {"matrix": [0, 8], "x": 8, "y": 0}, +        {"matrix": [0, 9], "x": 9, "y": 0}, +        {"matrix": [0, 10], "x": 10, "y": 0}, +        {"matrix": [0, 11], "x": 11, "y": 0}, + +        {"matrix": [1, 0], "x": 0, "y": 1}, +        {"matrix": [1, 1], "x": 1, "y": 1}, +        {"matrix": [1, 2], "x": 2, "y": 1}, +        {"matrix": [1, 3], "x": 3, "y": 1}, +        {"matrix": [1, 4], "x": 4, "y": 1}, +        {"matrix": [1, 5], "x": 5, "y": 1}, +        {"matrix": [1, 6], "x": 6, "y": 1}, +        {"matrix": [1, 7], "x": 7, "y": 1}, +        {"matrix": [1, 8], "x": 8, "y": 1}, +        {"matrix": [1, 9], "x": 9, "y": 1}, +        {"matrix": [1, 10], "x": 10, "y": 1}, +        {"matrix": [1, 11], "x": 11, "y": 1}, + +        {"matrix": [2, 0], "x": 0, "y": 2}, +        {"matrix": [2, 1], "x": 1, "y": 2}, +        {"matrix": [2, 2], "x": 2, "y": 2}, +        {"matrix": [2, 3], "x": 3, "y": 2}, +        {"matrix": [2, 4], "x": 4, "y": 2}, +        {"matrix": [2, 5], "x": 5, "y": 2}, +        {"matrix": [2, 6], "x": 6, "y": 2}, +        {"matrix": [2, 7], "x": 7, "y": 2}, +        {"matrix": [2, 8], "x": 8, "y": 2}, +        {"matrix": [2, 9], "x": 9, "y": 2}, +        {"matrix": [2, 10], "x": 10, "y": 2}, +        {"matrix": [2, 11], "x": 11, "y": 2}, + +        {"matrix": [3, 0], "x": 0, "y": 3}, +        {"matrix": [3, 1], "x": 1, "y": 3}, +        {"matrix": [3, 2], "x": 2, "y": 3}, +        {"matrix": [3, 3], "x": 3, "y": 3}, +        {"matrix": [3, 4], "x": 4, "y": 3}, +        {"matrix": [3, 5], "x": 5, "y": 3}, +        {"matrix": [3, 6], "x": 6, "y": 3}, +        {"matrix": [3, 7], "x": 7, "y": 3}, +        {"matrix": [3, 8], "x": 8, "y": 3}, +        {"matrix": [3, 9], "x": 9, "y": 3}, +        {"matrix": [3, 10], "x": 10, "y": 3}, +        {"matrix": [3, 11], "x": 11, "y": 3}, + +        {"matrix": [4, 0], "x": 0, "y": 4}, +        {"matrix": [4, 1], "x": 1, "y": 4}, +        {"matrix": [4, 2], "x": 2, "y": 4}, +        {"matrix": [4, 3], "x": 3, "y": 4}, +        {"matrix": [4, 4], "x": 4, "y": 4}, +        {"matrix": [4, 5], "x": 5, "y": 4}, +        {"matrix": [4, 6], "x": 6, "y": 4}, +        {"matrix": [4, 7], "x": 7, "y": 4}, +        {"matrix": [4, 8], "x": 8, "y": 4}, +        {"matrix": [4, 9], "x": 9, "y": 4}, +        {"matrix": [4, 10], "x": 10, "y": 4}, +        {"matrix": [4, 11], "x": 11, "y": 4} +      ] +    }, +    "LAYOUT_preonic_mit": { +        "layout": [ +          {"matrix": [0, 0], "x": 0, "y": 0}, +          {"matrix": [0, 1], "x": 1, "y": 0}, +          {"matrix": [0, 2], "x": 2, "y": 0}, +          {"matrix": [0, 3], "x": 3, "y": 0}, +          {"matrix": [0, 4], "x": 4, "y": 0}, +          {"matrix": [0, 5], "x": 5, "y": 0}, +          {"matrix": [0, 6], "x": 6, "y": 0}, +          {"matrix": [0, 7], "x": 7, "y": 0}, +          {"matrix": [0, 8], "x": 8, "y": 0}, +          {"matrix": [0, 9], "x": 9, "y": 0}, +          {"matrix": [0, 10], "x": 10, "y": 0}, +          {"matrix": [0, 11], "x": 11, "y": 0}, + +          {"matrix": [1, 0], "x": 0, "y": 1}, +          {"matrix": [1, 1], "x": 1, "y": 1}, +          {"matrix": [1, 2], "x": 2, "y": 1}, +          {"matrix": [1, 3], "x": 3, "y": 1}, +          {"matrix": [1, 4], "x": 4, "y": 1}, +          {"matrix": [1, 5], "x": 5, "y": 1}, +          {"matrix": [1, 6], "x": 6, "y": 1}, +          {"matrix": [1, 7], "x": 7, "y": 1}, +          {"matrix": [1, 8], "x": 8, "y": 1}, +          {"matrix": [1, 9], "x": 9, "y": 1}, +          {"matrix": [1, 10], "x": 10, "y": 1}, +          {"matrix": [1, 11], "x": 11, "y": 1}, + +          {"matrix": [2, 0], "x": 0, "y": 2}, +          {"matrix": [2, 1], "x": 1, "y": 2}, +          {"matrix": [2, 2], "x": 2, "y": 2}, +          {"matrix": [2, 3], "x": 3, "y": 2}, +          {"matrix": [2, 4], "x": 4, "y": 2}, +          {"matrix": [2, 5], "x": 5, "y": 2}, +          {"matrix": [2, 6], "x": 6, "y": 2}, +          {"matrix": [2, 7], "x": 7, "y": 2}, +          {"matrix": [2, 8], "x": 8, "y": 2}, +          {"matrix": [2, 9], "x": 9, "y": 2}, +          {"matrix": [2, 10], "x": 10, "y": 2}, +          {"matrix": [2, 11], "x": 11, "y": 2}, + +          {"matrix": [3, 0], "x": 0, "y": 3}, +          {"matrix": [3, 1], "x": 1, "y": 3}, +          {"matrix": [3, 2], "x": 2, "y": 3}, +          {"matrix": [3, 3], "x": 3, "y": 3}, +          {"matrix": [3, 4], "x": 4, "y": 3}, +          {"matrix": [3, 5], "x": 5, "y": 3}, +          {"matrix": [3, 6], "x": 6, "y": 3}, +          {"matrix": [3, 7], "x": 7, "y": 3}, +          {"matrix": [3, 8], "x": 8, "y": 3}, +          {"matrix": [3, 9], "x": 9, "y": 3}, +          {"matrix": [3, 10], "x": 10, "y": 3}, +          {"matrix": [3, 11], "x": 11, "y": 3}, + +          {"matrix": [4, 0], "x": 0, "y": 4}, +          {"matrix": [4, 1], "x": 1, "y": 4}, +          {"matrix": [4, 2], "x": 2, "y": 4}, +          {"matrix": [4, 3], "x": 3, "y": 4}, +          {"matrix": [4, 4], "x": 4, "y": 4}, +          {"matrix": [4, 6], "x": 5, "y": 4, "w": 2}, +          {"matrix": [4, 7], "x": 7, "y": 4}, +          {"matrix": [4, 8], "x": 8, "y": 4}, +          {"matrix": [4, 9], "x": 9, "y": 4}, +          {"matrix": [4, 10], "x": 10, "y": 4}, +          {"matrix": [4, 11], "x": 11, "y": 4} +        ] +      }      }  }  | 
