Skip to content

Commit

Permalink
[Keyboard] Siris (qmk#12415)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Swiftrax <swiftrax@gmail.com>
  • Loading branch information
3 people authored and toddyamakawa committed May 19, 2021
1 parent 41df33f commit 485eb52
Show file tree
Hide file tree
Showing 9 changed files with 554 additions and 0 deletions.
48 changes: 48 additions & 0 deletions keyboards/ffkeebs/siris/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
Copyright 2021 Swiftrax <swiftrax@gmail.com>
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

#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0x04D8
#define PRODUCT_ID 0xE96C
#define DEVICE_VER 0x0001
#define MANUFACTURER Swiftrax
#define PRODUCT Siris

/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 12

// ROWS: Top to bottom, COLS: Left to right

#define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 }
#define MATRIX_COL_PINS { D2, D1, D0, B7, B3, B2, F0, F1, F4, F5, F6, F7 }

/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST

#define ENCODERS_PAD_A { D3, C6 }
#define ENCODERS_PAD_B { D5, B6 }

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
293 changes: 293 additions & 0 deletions keyboards/ffkeebs/siris/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
{
"keyboard_name":"Siris",
"url":"https://github.com/swiftrax",
"maintainer":"Swiftrax",
"width":17.75,
"height":5.5,
"layouts":{
"LAYOUT":{
"layout":[
{
"label":"0,3",
"x":3.5,
"y":0
},
{
"label":"0,8",
"x":13.75,
"y":0
},
{
"label":"0,2",
"x":2.5,
"y":0.125
},
{
"label":"0,4",
"x":4.5,
"y":0.125
},
{
"label":"0,7",
"x":12.75,
"y":0.13
},
{
"label":"0,9",
"x":14.75,
"y":0.13
},
{
"label":"0,5",
"x":5.5,
"y":0.25
},
{
"label":"0,6",
"x":11.75,
"y":0.25
},
{
"label":"0,1",
"x":1.5,
"y":0.375
},
{
"label":"0,0",
"x":0.5,
"y":0.38
},
{
"label":"0,10",
"x":15.75,
"y":0.38
},
{
"label":"0,11",
"x":16.75,
"y":0.38
},
{
"label":"1,3",
"x":3.5,
"y":1.0
},
{
"label":"1,8",
"x":13.75,
"y":1.0
},
{
"label":"1,2",
"x":2.5,
"y":1.125
},
{
"label":"1,4",
"x":4.5,
"y":1.125
},
{
"label":"1,7",
"x":12.75,
"y":1.13
},
{
"label":"1,9",
"x":14.75,
"y":1.13
},
{
"label":"1,5",
"x":5.5,
"y":1.25
},
{
"label":"1,6",
"x":11.75,
"y":1.25
},
{
"label":"1,1",
"x":1.5,
"y":1.375
},
{
"label":"1,0",
"x":0.5,
"y":1.38
},
{
"label":"1,10",
"x":15.75,
"y":1.38
},
{
"label":"1,11",
"x":16.75,
"y":1.38
},
{
"label":"2,3",
"x":3.5,
"y":2
},
{
"label":"2,8",
"x":13.75,
"y":2
},
{
"label":"2,2",
"x":2.5,
"y":2.125
},
{
"label":"2,4",
"x":4.5,
"y":2.125
},
{
"label":"2,7",
"x":12.75,
"y":2.13
},
{
"label":"2,9",
"x":14.75,
"y":2.13
},
{
"label":"2,5",
"x":5.5,
"y":2.25
},
{
"label":"2,6",
"x":11.75,
"y":2.25
},
{
"label":"2,1",
"x":1.5,
"y":2.375
},
{
"label":"2,0",
"x":0.5,
"y":2.38
},
{
"label":"2,10",
"x":15.75,
"y":2.38
},
{
"label":"2,11",
"x":16.75,
"y":2.38
},
{
"label":"4,5",
"x":6.75,
"y":2.63
},
{
"label":"4,6",
"x":10.5,
"y":2.63
},
{
"label":"3,3",
"x":3.5,
"y":3
},
{
"label":"3,8",
"x":13.75,
"y":3
},
{
"label":"3,2",
"x":2.5,
"y":3.125
},
{
"label":"3,4",
"x":4.5,
"y":3.125
},
{
"label":"3,7",
"x":12.75,
"y":3.13
},
{
"label":"3,9",
"x":14.75,
"y":3.13
},
{
"label":"3,5",
"x":5.5,
"y":3.25
},
{
"label":"3,6",
"x":11.75,
"y":3.25
},
{
"label":"3,1",
"x":1.5,
"y":3.375
},
{
"label":"3,0",
"x":0.5,
"y":3.38
},
{
"label":"3,10",
"x":15.75,
"y":3.38
},
{
"label":"3,11",
"x":16.75,
"y":3.38
},
{
"label":"4,2",
"x":4.25,
"y":4.15
},
{
"label":"4,0",
"x":13,
"y":4.15
},
{
"label":"4,3",
"x":5.25,
"y":4.25
},
{
"label":"4,8",
"x":12,
"y":4.25
},
{
"x":6.5,
"y":4.5,
"w":1.5
},
{
"x":10.25,
"y":4.5,
"w":1.5
}
]
}
}
}
Loading

0 comments on commit 485eb52

Please sign in to comment.