forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support all the 0.2 Ferris variants (qmk#12653)
* Support all the 0.2 Ferris variants For the Compact, the High and the Mini, create a new directory so each keyboard may have the correct USB descriptor and a readme with more specific information about it. For the Bling, also add support for the underglow functionality. Change the "MANUFACTURER" string to "Cuddly Keyboards Ltd.", the name of the company I incorporated to sell keyboards, and change the default descriptor from "Ferris the keeb" to "Ferris 0.2" which is more descriptive. I didn't update the 0.1 variants as I don't intend to sell these kits with "Cuddly Keyboards". The firmware is mostly there to support existing users. Update the "hardware availability" to point to my new website: cuddlykeyboards.com. * Add RGB mode toggle to my keymap and to the default keymap * Improve wording in the readme
- Loading branch information
1 parent
78246f6
commit de3e197
Showing
21 changed files
with
288 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/* | ||
Copyright 2021 Pierre Chevalier <pierrechevalier83@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/>. | ||
*/ | ||
#include "quantum.h" | ||
|
||
#include "drivers/issi/is31fl3731.h" | ||
|
||
/* | ||
| Left || Right | | ||
| | 3 | | 0 || 0 | | 3 | | | ||
| 5 | | | || | | | 6 | | ||
| | | | || | | | | | ||
| | | | 1 || 1 | | | | | ||
| | 4 | | || | | 4 | | | ||
| 6 | | | 2 || 2 | | | 5 | | ||
*/ | ||
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { | ||
/* Refer to IS31 manual for these locations | ||
* driver | ||
* | R location | ||
* | | G location | ||
* | | | B location | ||
* | | | | */ | ||
{0, C9_10, C8_10, C7_10}, // Left RGB 5 | ||
{0, C9_12, C8_12, C7_12}, // Left RGB 3 | ||
{0, C9_15, C8_15, C6_14}, // Left RGB 0 | ||
{1, C1_2, C2_2, C4_3}, // Right RGB 0 | ||
{1, C1_5, C2_5, C3_5}, // Right RGB 3 | ||
{1, C1_8, C2_8, C3_8}, // Right RGB 6 | ||
{1, C1_7, C2_7, C3_7}, // Right RGB 5 | ||
{1, C1_6, C2_6, C3_6}, // Right RGB 4 | ||
{1, C1_3, C2_3, C3_3}, // Right RGB 1 | ||
{1, C1_4, C2_4, C3_4}, // Right RGB 2 | ||
{0, C9_13, C8_13, C7_13}, // Left RGB 2 | ||
{0, C9_14, C8_14, C7_14}, // Left RGB 1 | ||
{0, C9_11, C8_11, C7_11}, // Left RGB 4 | ||
{0, C9_9, C8_9, C7_9}, // Left RGB 6 | ||
}; | ||
// clang-format off | ||
led_config_t g_led_config = { | ||
// Key Matrix to LED Index | ||
{ | ||
{}, | ||
}, { | ||
// LED Index to Physical Position. The unit is roughly milimiters in the real world | ||
// | Left || Right | | ||
// x->| 10 | 32 | 64 || 160 | 192 | 214 | | ||
// y |_____|_____|____||_____|_____|_____| | ||
// 0 | | 1 | 2 || 3 | 4 | | | ||
// 16 | 0 | | || | | 5 | | ||
// 35 | | | 11 || 8 | | | | ||
// 45 | | 12 | || | 7 | | | ||
// 50 | 13 | | 10 || 9 | | 6 | | ||
// 0 1 2 3 4 5 | ||
{10, 16}, {32, 0}, {64, 0}, {160, 0}, {192, 0}, {214, 16}, | ||
// 6 7 8 9 | ||
{214, 50}, {192, 45}, {160, 35}, {160, 50}, | ||
// 10 11 12 13 | ||
{64, 50}, {64, 35}, {32, 45}, {10, 50}, | ||
}, { | ||
// LED Index to Flag | ||
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
Copyright 2021 Pierre Chevalier <pierrechevalier83@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 | ||
|
||
#undef PRODUCT_ID | ||
#define PRODUCT_ID 0x0002 | ||
#undef PRODUCT | ||
#define PRODUCT Ferris 0.2 - Bling | ||
|
||
|
||
|
||
/* LED Drivers */ | ||
#define DRIVER_ADDR_1 0b1110100 | ||
#define DRIVER_ADDR_2 0b1110101 | ||
#define DRIVER_COUNT 2 | ||
#define DRIVER_1_LED_TOTAL 7 | ||
#define DRIVER_2_LED_TOTAL 7 | ||
#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Ferris 0.2 - Bling | ||
|
||
![Ferris 0.2 - Bling](https://i.imgur.com/8dmm5Mrh.jpg) | ||
|
||
Ferris 0.2 with RGB underglow. | ||
|
||
* Keyboard Maintainer: [Pierre Chevalier](/~https://github.com/pierrechevalier83) | ||
* Hardware Supported: | ||
* Ferris 0.2 - Bling: (STM32F072 MCU on the left, MCP23017 on the right, IS31FL3731 led driver chip on each side) | ||
* Hardware Availability: [Cuddly Keyboards](https://cuddlykeyboards.com) | ||
|
||
Make examples for this keyboard (after setting up your build environment): | ||
|
||
make ferris/0_2/bling:default | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
RGB_MATRIX_ENABLE = yes | ||
RGB_MATRIX_DRIVER = IS31FL3731 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
Copyright 2021 Pierre Chevalier <pierrechevalier83@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 | ||
|
||
#undef PRODUCT_ID | ||
#define PRODUCT_ID 0x0003 | ||
#undef PRODUCT | ||
#define PRODUCT Ferris 0.2 - Compact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Ferris 0.2 - Compact | ||
|
||
![Ferris 0.2 - Compact, top view](https://i.imgur.com/V2ZLKjih.jpg) | ||
![Ferris 0.2 - Compact, bottom view](https://i.imgur.com/3icP8pzh.jpg) | ||
|
||
Ferris 0.2 - Compact with Kailh Choc support and Choc spacing. | ||
|
||
* Keyboard Maintainer: [Pierre Chevalier](/~https://github.com/pierrechevalier83) | ||
* Hardware Supported: | ||
* Ferris 0.2 - Compact: (STM32F072 MCU on the left, MCP23017 on the right) | ||
* Hardware Availability: [Cuddly Keyboards](https://cuddlykeyboards.com) | ||
|
||
Make examples for this keyboard (after setting up your build environment): | ||
|
||
make ferris/0_2/compact:default | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
Copyright 2021 Pierre Chevalier <pierrechevalier83@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 | ||
|
||
#undef PRODUCT_ID | ||
#define PRODUCT_ID 0x0005 | ||
#undef PRODUCT | ||
#define PRODUCT Ferris 0.2 - High |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Ferris 0.2 - High | ||
|
||
![Ferris 0.2 - High, top view](https://i.imgur.com/aOqVmvph.jpg) | ||
![Ferris 0.2 - High, bottom view](https://i.imgur.com/Nuqy5uJh.jpg) | ||
|
||
Ferris 0.2 - High with Cherry MX support. | ||
|
||
* Keyboard Maintainer: [Pierre Chevalier](/~https://github.com/pierrechevalier83) | ||
* Hardware Supported: | ||
* Ferris 0.2 - High: (STM32F072 MCU on the left, MCP23017 on the right) | ||
* Hardware Availability: [Cuddly Keyboards](https://cuddlykeyboards.com) | ||
|
||
Make examples for this keyboard (after setting up your build environment): | ||
|
||
make ferris/0_2/high:default | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
Copyright 2021 Pierre Chevalier <pierrechevalier83@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 | ||
|
||
#undef PRODUCT_ID | ||
#define PRODUCT_ID 0x0004 | ||
#undef PRODUCT | ||
#define PRODUCT Ferris 0.2 - Mini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Ferris 0.2 - Mini | ||
|
||
![Ferris 0.2 - Mini, top view](https://i.imgur.com/s3luptVh.jpg) | ||
![Ferris 0.2 - Mini, bottom view](https://i.imgur.com/D4GxLQvh.jpg) | ||
|
||
|
||
Ferris 0.2 - Mini with Kailh Choc Mini support and Choc spacing. | ||
|
||
* Keyboard Maintainer: [Pierre Chevalier](/~https://github.com/pierrechevalier83) | ||
* Hardware Supported: | ||
* Ferris 0.2 - Mini: (STM32F072 MCU on the left, MCP23017 on the right) | ||
* Hardware Availability: [Cuddly Keyboards](https://cuddlykeyboards.com) | ||
|
||
Make examples for this keyboard (after setting up your build environment): | ||
|
||
make ferris/0_2/mini:default | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters