From 213860db7aa842a1ad5cff5329828640980588ef Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Wed, 8 Feb 2023 03:12:03 +0900 Subject: [PATCH 01/36] add Frost68 --- keyboards/skeletonkbd/frost68/LICENSE | 339 ++++++++++++++++++ keyboards/skeletonkbd/frost68/config.h | 92 +++++ keyboards/skeletonkbd/frost68/frost68.c | 100 ++++++ keyboards/skeletonkbd/frost68/frost68.h | 3 + keyboards/skeletonkbd/frost68/info.json | 124 +++++++ .../frost68/keymaps/default/keymap.c | 55 +++ .../skeletonkbd/frost68/keymaps/via/keymap.c | 55 +++ .../skeletonkbd/frost68/keymaps/via/rules.mk | 1 + keyboards/skeletonkbd/frost68/readme.md | 27 ++ keyboards/skeletonkbd/frost68/rules.mk | 10 + 10 files changed, 806 insertions(+) create mode 100644 keyboards/skeletonkbd/frost68/LICENSE create mode 100644 keyboards/skeletonkbd/frost68/config.h create mode 100644 keyboards/skeletonkbd/frost68/frost68.c create mode 100644 keyboards/skeletonkbd/frost68/frost68.h create mode 100644 keyboards/skeletonkbd/frost68/info.json create mode 100644 keyboards/skeletonkbd/frost68/keymaps/default/keymap.c create mode 100644 keyboards/skeletonkbd/frost68/keymaps/via/keymap.c create mode 100644 keyboards/skeletonkbd/frost68/keymaps/via/rules.mk create mode 100644 keyboards/skeletonkbd/frost68/readme.md create mode 100644 keyboards/skeletonkbd/frost68/rules.mk diff --git a/keyboards/skeletonkbd/frost68/LICENSE b/keyboards/skeletonkbd/frost68/LICENSE new file mode 100644 index 000000000000..d159169d1050 --- /dev/null +++ b/keyboards/skeletonkbd/frost68/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + 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, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h new file mode 100644 index 000000000000..ed127a0566d2 --- /dev/null +++ b/keyboards/skeletonkbd/frost68/config.h @@ -0,0 +1,92 @@ +// Copyright 2023 skeletonkbd (@skeletonkbd) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +// #define NO_DEBUG + +/* disable print */ +// #define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT + +#define WS2812_PIO_USE_PIO1 + +#ifdef RGB_MATRIX_ENABLE + + #define RGB_DI_PIN GP0 + #define RGBLED_NUM 68 + #define RGB_MATRIX_LED_COUNT RGBLED_NUM + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 + + #define RGB_DISABLE_WHEN_USB_SUSPENDED + #define USB_SUSPEND_WAKEUP_DELAY 200 + + #define ENABLE_RGB_MATRIX_ALPHAS_MODS + #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN + #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_BREATHING + #define ENABLE_RGB_MATRIX_BAND_SAT + #define ENABLE_RGB_MATRIX_BAND_VAL + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT + #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT + #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL + #define ENABLE_RGB_MATRIX_CYCLE_ALL + #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT + #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN + #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON + #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN + #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL + #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL + #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL + #define ENABLE_RGB_MATRIX_DUAL_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_BEACON + #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS + #define ENABLE_RGB_MATRIX_RAINDROPS + #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS + #define ENABLE_RGB_MATRIX_HUE_BREATHING + #define ENABLE_RGB_MATRIX_HUE_PENDULUM + #define ENABLE_RGB_MATRIX_HUE_WAVE + #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL + #define ENABLE_RGB_MATRIX_PIXEL_FLOW + #define ENABLE_RGB_MATRIX_PIXEL_RAIN + + #define RGB_MATRIX_FRAMEBUFFER_EFFECTS + #define ENABLE_RGB_MATRIX_TYPING_HEATMAP + #define ENABLE_RGB_MATRIX_DIGITAL_RAIN + + #define RGB_MATRIX_KEYPRESSES + #define RGB_MATRIX_KEYRELEASES + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS + #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS + #define ENABLE_RGB_MATRIX_SPLASH + #define ENABLE_RGB_MATRIX_MULTISPLASH + #define ENABLE_RGB_MATRIX_SOLID_SPLASH + #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH + + #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN + + #define RGB_MATRIX_HUE_STEP 8 + #define RGB_MATRIX_SAT_STEP 8 + #define RGB_MATRIX_VAL_STEP 8 + #define RGB_MATRIX_SPD_STEP 10 + +#endif + + diff --git a/keyboards/skeletonkbd/frost68/frost68.c b/keyboards/skeletonkbd/frost68/frost68.c new file mode 100644 index 000000000000..bd975adcae6e --- /dev/null +++ b/keyboards/skeletonkbd/frost68/frost68.c @@ -0,0 +1,100 @@ +#include "frost68.h" + +#ifdef RGB_MATRIX_ENABLE + +led_config_t g_led_config = { { + // Key Matrix to LED Index + { 0, 1, 2, 3,4, 5, 6, 60, 61, 62,63, 64,65,NO_LED, 66, 67 }, + { 12,11, 10, 9,8, 7,NO_LED, 59, 58, 57,56, 55,54, 53, 52, 51 }, + { 13,14, 15, 16,17, 18,NO_LED, 43, 44, 45,46, 47,48, 49,NO_LED, 50 }, + { 24,23, 22, 21,20, 19,NO_LED, 42, 41, 40,39, 38,37, 36, 35,NO_LED }, + { 25,26,NO_LED, 27,NO_LED,28,NO_LED, 29,NO_LED,NO_LED,30,NO_LED,31, 32, 33, 34 } +}, { + // LED Index to Physical Position + {33.069956815567366,3.682020999999999}, + {45.669610362298535,3.682020999999999}, + {58.26926390902969,2.3675390000000007}, + {71.06408616238076,6.4253908117277305}, + {83.38840718545515,10.386107811727733}, + {95.71272820852954,14.346825811727733}, + {108.03704923160393,18.307543811727733}, + {99.25527325569391,34.960896811727736}, + {86.93095223261955,31.000178811727736}, + {74.60663120954516,27.039460811727736}, + {62.282310847869894,23.078743811727733}, + {49.20907990347908,22.732020999999996}, + {33.45951297006511,22.732020999999996}, + {32.34602106811951,41.782021}, + {49.67054469487486,41.782021}, + {62.74377563926569,42.702634811727734}, + {75.06809666234008,46.663351811727736}, + {87.39241702401533,50.624069811727736}, + {99.7167380470897,54.584787811727736}, + {103.2592830942541,75.19885881172773}, + {90.93496273257884,71.23814081172773}, + {78.61064170950445,67.27742281172773}, + {66.28632068643007,63.31670481172773}, + {53.27033449868614,60.832021}, + {32.795897485247984,60.832021}, + {28.071027405223802,79.882021}, + {46.97050772532055,79.882021}, + {80.61264662878455,87.39640381172774}, + {100.63966829128042,93.83256981172772}, + {140.16574696375307,90.36694181172774}, + {166.43688839595956,82.53340481172773}, + {195.65077951985486,79.882021}, + {211.40034645326884,79.882021}, + {224.0,79.882021}, + {236.5996535467312,79.882021}, + {224.0,60.832021}, + {206.67547637324466,60.832021}, + {189.3509527464893,60.832021}, + {176.7512991997581,60.832021}, + {163.73531367341332,63.31670481172773}, + {151.41099265033893,67.27742281172773}, + {139.08667162726456,71.23814081172773}, + {126.7623512655893,75.19885881172773}, + {130.3048963127537,54.584787811727736}, + {142.62921667442893,50.624069811727736}, + {154.95353769750332,46.663351811727736}, + {167.2778587205777,42.702634811727734}, + {180.35108966496855,41.782021}, + {192.95074321169966,41.782021}, + {213.42518022513784,41.782021}, + {236.59390069704355,39.555001000000004}, + {235.27110242442083,20.505001}, + {217.35607106638054,22.732020999999996}, + {201.6065041329666,22.732020999999996}, + {189.00685058623543,22.732020999999996}, + {176.40719703950424,21.99143}, + {163.39121151315945,24.47611381172773}, + {151.06689049008506,28.43683181172773}, + {138.74256946701064,32.39754981172774}, + {126.41824844393628,36.358266811727745}, + {128.14674563977667,16.327184811727733}, + {140.47106666285106,12.366466811727733}, + {152.79538768592545,8.405748811727733}, + {165.11970870899984,4.4450318117277305}, + {178.19293899199153,2.941429999999997}, + {190.7925925387227,3.682020999999999}, + {209.69207285881942,3.682020999999999}, + {233.94830415179814,1.4550009999999958} +}, { + // LED Index to Flag + 4,4,4,4,4,4,4,4,4,4,4,4,4,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 +} }; + +bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { + if (host_keyboard_led_state().caps_lock) { + for (uint8_t i = led_min; i < led_max; i++) { + if (g_led_config.flags[i] & LED_FLAG_INDICATOR) { + rgb_matrix_set_color(i, RGB_RED); + } + } + } + return false; +} + + + +#endif diff --git a/keyboards/skeletonkbd/frost68/frost68.h b/keyboards/skeletonkbd/frost68/frost68.h new file mode 100644 index 000000000000..99b0ccee21b5 --- /dev/null +++ b/keyboards/skeletonkbd/frost68/frost68.h @@ -0,0 +1,3 @@ +#pragma once + +#include "quantum.h" \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json new file mode 100644 index 000000000000..1184ad4727fc --- /dev/null +++ b/keyboards/skeletonkbd/frost68/info.json @@ -0,0 +1,124 @@ +{ + "manufacturer": "skeletonkbd", + "keyboard_name": "Frost68", + "maintainer": "skeletonkbd", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": [ + "GP21", + "GP22", + "GP23", + "GP24", + "GP25", + "GP26", + "GP28", + "GP3", + "GP4", + "GP5", + "GP6", + "GP9", + "GP10", + "GP11", + "GP12", + "GP13" + + ], + "rows": [ + "GP29", + "GP27", + "GP20", + "GP19", + "GP18" + ] + }, + "processor": "RP2040", + "url": "", + "usb": { + "device_version": "1.0.0", + "vid": "0x1209", + "pid": "0x68A0" + }, + "layouts": { + "LAYOUT_alice": { + "layout": [ + {"matrix":[0,0], "x":1.76, "y":1.0}, + {"matrix":[0,1], "x":2.76, "y":1.0}, + {"matrix":[0,2], "x":3.76, "y":0.92}, + {"matrix":[0,3], "x":4.9, "y":6.0}, + {"matrix":[0,4], "x":5.9, "y":6.0}, + {"matrix":[0,5], "x":6.9, "y":6.0}, + {"matrix":[0,6], "x":7.9, "y":6.0}, + {"matrix":[0,7], "x":8.35, "y":14.6}, + {"matrix":[0,8], "x":9.35, "y":14.6}, + {"matrix":[0,9], "x":10.35, "y":14.6}, + {"matrix":[0,10], "x":11.35, "y":14.6}, + {"matrix":[0,11], "x":13.18, "y":0.9600000000000001}, + {"matrix":[0,12], "x":14.18, "y":1.0}, + {"matrix":[0,13], "x":15.18, "y":1.0, "w":2}, + {"matrix":[0,15], "x":17.37, "y":0.9}, + {"matrix":[1,0], "x":1.535, "y":2.0, "w":1.5}, + {"matrix":[1,1], "x":3.035, "y":2.0}, + {"matrix":[1,2], "x":4.4, "y":7.0}, + {"matrix":[1,3], "x":5.4, "y":7.0}, + {"matrix":[1,4], "x":6.4, "y":7.0}, + {"matrix":[1,5], "x":7.4, "y":7.0}, + {"matrix":[1,7], "x":7.85, "y":15.6}, + {"matrix":[1,8], "x":8.85, "y":15.6}, + {"matrix":[1,9], "x":9.85, "y":15.6}, + {"matrix":[1,10], "x":10.85, "y":15.6}, + {"matrix":[1,11], "x":12.98, "y":1.9600000000000002}, + {"matrix":[1,12], "x":13.98, "y":2.0}, + {"matrix":[1,13], "x":14.98, "y":2.0}, + {"matrix":[1,14], "x":15.98, "y":2.0, "w":1.5}, + {"matrix":[1,15], "x":17.57, "y":1.9000000000000001}, + {"matrix":[2,0], "x":1.37, "y":3.0, "w":1.75}, + {"matrix":[2,1], "x":3.12, "y":3.0}, + {"matrix":[2,2], "x":4.7, "y":8.0}, + {"matrix":[2,3], "x":5.7, "y":8.0}, + {"matrix":[2,4], "x":6.7, "y":8.0}, + {"matrix":[2,5], "x":7.7, "y":8.0}, + {"matrix":[2,7], "x":8, "y":16.6}, + {"matrix":[2,8], "x":9, "y":16.6}, + {"matrix":[2,9], "x":10, "y":16.6}, + {"matrix":[2,10], "x":11, "y":16.6}, + {"matrix":[2,11], "x":13.26, "y":3.0}, + {"matrix":[2,12], "x":14.26, "y":3.0}, + {"matrix":[2,13], "x":15.26, "y":3.0, "w":2.25}, + {"matrix":[2,15], "x":17.77, "y":2.9000000000000004}, + {"matrix":[3,0], "x":1.1, "y":4.0, "w":2.25}, + {"matrix":[3,1], "x":3.35, "y":4.0}, + {"matrix":[3,2], "x":5.2, "y":9.0}, + {"matrix":[3,3], "x":6.2, "y":9.0}, + {"matrix":[3,4], "x":7.2, "y":9.0}, + {"matrix":[3,5], "x":8.2, "y":9.0}, + {"matrix":[3,7], "x":7.55, "y":17.6}, + {"matrix":[3,8], "x":8.55, "y":17.6}, + {"matrix":[3,9], "x":9.55, "y":17.6}, + {"matrix":[3,10], "x":10.55, "y":17.6}, + {"matrix":[3,11], "x":13.02, "y":4.0}, + {"matrix":[3,12], "x":14.02, "y":4.0}, + {"matrix":[3,13], "x":15.02, "y":4.0, "w":1.75}, + {"matrix":[3,14], "x":16.77, "y":4.0}, + {"matrix":[4,0], "x":1.1, "y":5.0, "w":1.5}, + {"matrix":[4,1], "x":2.6, "y":5.0, "w":1.5}, + {"matrix":[4,3], "x":5.95, "y":10.0, "w":2.25}, + {"matrix":[4,5], "x":8.2, "y":10.0}, + {"matrix":[4,7], "x":7.55, "y":18.6, "w":2.75}, + {"matrix":[4,10], "x":10.3, "y":18.65, "w":1.5}, + {"matrix":[4,12], "x":14.27, "y":5.0, "w":1.5}, + {"matrix":[4,13], "x":15.77, "y":5.0}, + {"matrix":[4,14], "x":16.77, "y":5.0}, + {"matrix":[4,15], "x":17.77, "y":5.0} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c new file mode 100644 index 000000000000..d7f9b5a60ec1 --- /dev/null +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -0,0 +1,55 @@ +/* Copyright 2020 MudkipMao + * + * 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 . + */ +#include QMK_KEYBOARD_H + +// Defines names for use in layer keycodes and the keymap +enum layer_names { + _BASE, + _L1, + _L2, + _L3 +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_BASE] = LAYOUT_alice( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_F13, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + + [_L1] = LAYOUT_alice( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F14, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), + + [_L2] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + + [_L3] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + +}; \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c new file mode 100644 index 000000000000..8f9995574581 --- /dev/null +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -0,0 +1,55 @@ +/* Copyright 2020 MudkipMao + * + * 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 . + */ +#include QMK_KEYBOARD_H + +// Defines names for use in layer keycodes and the keymap +enum layer_names { + _BASE, + _L1, + _L2, + _L3 +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_BASE] = LAYOUT_alice( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + + [_L1] = LAYOUT_alice( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), + + [_L2] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + + [_L3] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + +}; \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/rules.mk b/keyboards/skeletonkbd/frost68/keymaps/via/rules.mk new file mode 100644 index 000000000000..1e5b99807cb7 --- /dev/null +++ b/keyboards/skeletonkbd/frost68/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/skeletonkbd/frost68/readme.md b/keyboards/skeletonkbd/frost68/readme.md new file mode 100644 index 000000000000..bdfa75b40ae1 --- /dev/null +++ b/keyboards/skeletonkbd/frost68/readme.md @@ -0,0 +1,27 @@ +# skeletonkbd/frost68 + +![skeletonkbd/frost68](imgur.com image replace me!) + +_A short description of the keyboard/project_ + +- Keyboard Maintainer: [skeletonkbd](https://github.com/skeletonkbd) +- Hardware Supported: _The PCBs, controllers supported_ +- Hardware Availability: _Links to where you can find this hardware_ + +Make example for this keyboard (after setting up your build environment): + + make skeletonkbd/frost68:default + +Flashing example for this keyboard: + + make skeletonkbd/frost68:default:flash + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +- **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +- **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +- **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/skeletonkbd/frost68/rules.mk b/keyboards/skeletonkbd/frost68/rules.mk new file mode 100644 index 000000000000..5e988da94ade --- /dev/null +++ b/keyboards/skeletonkbd/frost68/rules.mk @@ -0,0 +1,10 @@ +# This file intentionally left blank +WS2812_DRIVER = vendor +RGBLIGHT_ENABLE = no +RGB_MATRIX_ENABLE = yes +RGB_MATRIX_DRIVER = WS2812 +# NO_USB_STARTUP_CHECK = yes +# WAIT_FOR_USB = yes + +# EEPROM_DRIVER = wear_leveling +# WEAR_LEVELING_DRIVER = rp2040_flash From 8c82d17cf31080ea1e7e20299aaf5f2cc7f7571f Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Thu, 6 Apr 2023 21:28:24 +0900 Subject: [PATCH 02/36] fix --- keyboards/skeletonkbd/frost68/config.h | 135 +++++++++--------- .../frost68/keymaps/default/keymap.c | 59 ++++---- .../skeletonkbd/frost68/keymaps/via/keymap.c | 59 ++++---- keyboards/skeletonkbd/frost68/rules.mk | 6 +- 4 files changed, 128 insertions(+), 131 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index ed127a0566d2..a0c9b7c90d20 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -15,78 +15,77 @@ // #define NO_PRINT /* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT +// #define NO_ACTION_LAYER +// #define NO_ACTION_TAPPING +// #define NO_ACTION_ONESHOT +#define DEBOUNCE 50 #define WS2812_PIO_USE_PIO1 #ifdef RGB_MATRIX_ENABLE - #define RGB_DI_PIN GP0 - #define RGBLED_NUM 68 - #define RGB_MATRIX_LED_COUNT RGBLED_NUM - #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 - - #define RGB_DISABLE_WHEN_USB_SUSPENDED - #define USB_SUSPEND_WAKEUP_DELAY 200 - - #define ENABLE_RGB_MATRIX_ALPHAS_MODS - #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN - #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT - #define ENABLE_RGB_MATRIX_BREATHING - #define ENABLE_RGB_MATRIX_BAND_SAT - #define ENABLE_RGB_MATRIX_BAND_VAL - #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT - #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL - #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT - #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL - #define ENABLE_RGB_MATRIX_CYCLE_ALL - #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT - #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN - #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON - #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN - #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL - #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL - #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL - #define ENABLE_RGB_MATRIX_DUAL_BEACON - #define ENABLE_RGB_MATRIX_RAINBOW_BEACON - #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS - #define ENABLE_RGB_MATRIX_RAINDROPS - #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS - #define ENABLE_RGB_MATRIX_HUE_BREATHING - #define ENABLE_RGB_MATRIX_HUE_PENDULUM - #define ENABLE_RGB_MATRIX_HUE_WAVE - #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL - #define ENABLE_RGB_MATRIX_PIXEL_FLOW - #define ENABLE_RGB_MATRIX_PIXEL_RAIN - - #define RGB_MATRIX_FRAMEBUFFER_EFFECTS - #define ENABLE_RGB_MATRIX_TYPING_HEATMAP - #define ENABLE_RGB_MATRIX_DIGITAL_RAIN - - #define RGB_MATRIX_KEYPRESSES - #define RGB_MATRIX_KEYRELEASES - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - #define ENABLE_RGB_MATRIX_SPLASH - #define ENABLE_RGB_MATRIX_MULTISPLASH - #define ENABLE_RGB_MATRIX_SOLID_SPLASH - #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH - - #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN - - #define RGB_MATRIX_HUE_STEP 8 - #define RGB_MATRIX_SAT_STEP 8 - #define RGB_MATRIX_VAL_STEP 8 - #define RGB_MATRIX_SPD_STEP 10 +#define RGB_DI_PIN GP0 +#define RGBLED_NUM 68 +#define RGB_MATRIX_LED_COUNT RGBLED_NUM +#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 + +#define RGB_DISABLE_WHEN_USB_SUSPENDED +#define USB_SUSPEND_WAKEUP_DELAY 200 + +#define ENABLE_RGB_MATRIX_ALPHAS_MODS +#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN +#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT +#define ENABLE_RGB_MATRIX_BREATHING +#define ENABLE_RGB_MATRIX_BAND_SAT +#define ENABLE_RGB_MATRIX_BAND_VAL +#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT +#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL +#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT +#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL +#define ENABLE_RGB_MATRIX_CYCLE_ALL +#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT +#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN +#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON +#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN +#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL +#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL +#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL +#define ENABLE_RGB_MATRIX_DUAL_BEACON +#define ENABLE_RGB_MATRIX_RAINBOW_BEACON +#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS +#define ENABLE_RGB_MATRIX_RAINDROPS +#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS +#define ENABLE_RGB_MATRIX_HUE_BREATHING +#define ENABLE_RGB_MATRIX_HUE_PENDULUM +#define ENABLE_RGB_MATRIX_HUE_WAVE +#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL +#define ENABLE_RGB_MATRIX_PIXEL_FLOW +#define ENABLE_RGB_MATRIX_PIXEL_RAIN + +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS +#define ENABLE_RGB_MATRIX_TYPING_HEATMAP +#define ENABLE_RGB_MATRIX_DIGITAL_RAIN + +#define RGB_MATRIX_KEYPRESSES +#define RGB_MATRIX_KEYRELEASES +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS +#define ENABLE_RGB_MATRIX_SPLASH +#define ENABLE_RGB_MATRIX_MULTISPLASH +#define ENABLE_RGB_MATRIX_SOLID_SPLASH +#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH + +#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN + +#define RGB_MATRIX_HUE_STEP 8 +#define RGB_MATRIX_SAT_STEP 8 +#define RGB_MATRIX_VAL_STEP 8 +#define RGB_MATRIX_SPD_STEP 10 #endif - - diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index d7f9b5a60ec1..54c493e89400 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -16,40 +16,41 @@ #include QMK_KEYBOARD_H // Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE, - _L1, - _L2, - _L3 +enum layer_names +{ + _BASE, + _L1, + _L2, + _L3 }; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_alice( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_F13, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + [_BASE] = LAYOUT_alice( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - [_L1] = LAYOUT_alice( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F14, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), + [_L1] = LAYOUT_alice( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), - [_L2] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + [_L2] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - [_L3] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + [_L3] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), }; \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index 8f9995574581..54c493e89400 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -16,40 +16,41 @@ #include QMK_KEYBOARD_H // Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE, - _L1, - _L2, - _L3 +enum layer_names +{ + _BASE, + _L1, + _L2, + _L3 }; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_alice( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1,KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + [_BASE] = LAYOUT_alice( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - [_L1] = LAYOUT_alice( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), + [_L1] = LAYOUT_alice( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), - [_L2] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + [_L2] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - [_L3] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + [_L3] = LAYOUT_alice( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), }; \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/rules.mk b/keyboards/skeletonkbd/frost68/rules.mk index 5e988da94ade..cd8d14cdef23 100644 --- a/keyboards/skeletonkbd/frost68/rules.mk +++ b/keyboards/skeletonkbd/frost68/rules.mk @@ -3,8 +3,4 @@ WS2812_DRIVER = vendor RGBLIGHT_ENABLE = no RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = WS2812 -# NO_USB_STARTUP_CHECK = yes -# WAIT_FOR_USB = yes - -# EEPROM_DRIVER = wear_leveling -# WEAR_LEVELING_DRIVER = rp2040_flash +DEBOUNCE_TYPE = sym_eager_pk From 614f7f9d823da22fed4802c367f2d6e27fe6ee2a Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Thu, 6 Apr 2023 21:31:57 +0900 Subject: [PATCH 03/36] fix readme --- keyboards/skeletonkbd/frost68/readme.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/readme.md b/keyboards/skeletonkbd/frost68/readme.md index bdfa75b40ae1..80dbcb4acce8 100644 --- a/keyboards/skeletonkbd/frost68/readme.md +++ b/keyboards/skeletonkbd/frost68/readme.md @@ -1,20 +1,20 @@ -# skeletonkbd/frost68 +# skeletonkbd/skeleton68 -![skeletonkbd/frost68](imgur.com image replace me!) +![skeletonkbd/skeleton68](https://i.imgur.com/ZrtbBNP.jpg) -_A short description of the keyboard/project_ +Alice layout keyboard with acrylic case. -- Keyboard Maintainer: [skeletonkbd](https://github.com/skeletonkbd) -- Hardware Supported: _The PCBs, controllers supported_ -- Hardware Availability: _Links to where you can find this hardware_ +- Keyboard Maintainer: [SkeletonKBD](https://github.com/skeletonkbd) +- Hardware Supported: Frost68 +- Hardware Availability: https://github.com/skeletonkbd/Frost68 Make example for this keyboard (after setting up your build environment): - make skeletonkbd/frost68:default + make skeletonkbd/skeleton68:default Flashing example for this keyboard: - make skeletonkbd/frost68:default:flash + make skeletonkbd/skeleton68:default:flash 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). From ec781cacbb45a2eec2d198022cae4c3123ff3342 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Fri, 7 Apr 2023 04:50:26 +0900 Subject: [PATCH 04/36] fix format --- keyboards/skeletonkbd/frost68/LICENSE | 339 ------------------ keyboards/skeletonkbd/frost68/frost68.c | 168 ++++----- keyboards/skeletonkbd/frost68/frost68.h | 3 + .../frost68/keymaps/default/keymap.c | 27 +- .../skeletonkbd/frost68/keymaps/via/keymap.c | 27 +- 5 files changed, 97 insertions(+), 467 deletions(-) delete mode 100644 keyboards/skeletonkbd/frost68/LICENSE diff --git a/keyboards/skeletonkbd/frost68/LICENSE b/keyboards/skeletonkbd/frost68/LICENSE deleted file mode 100644 index d159169d1050..000000000000 --- a/keyboards/skeletonkbd/frost68/LICENSE +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - 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, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/keyboards/skeletonkbd/frost68/frost68.c b/keyboards/skeletonkbd/frost68/frost68.c index bd975adcae6e..48a0fb59ba3f 100644 --- a/keyboards/skeletonkbd/frost68/frost68.c +++ b/keyboards/skeletonkbd/frost68/frost68.c @@ -1,88 +1,92 @@ -#include "frost68.h" +// Copyright 2023 skeletonkbd (@skeletonkbd) +// SPDX-License-Identifier: GPL-2.0-or-later -#ifdef RGB_MATRIX_ENABLE +#include "frost68.h" +// clang-format off led_config_t g_led_config = { { - // Key Matrix to LED Index - { 0, 1, 2, 3,4, 5, 6, 60, 61, 62,63, 64,65,NO_LED, 66, 67 }, - { 12,11, 10, 9,8, 7,NO_LED, 59, 58, 57,56, 55,54, 53, 52, 51 }, - { 13,14, 15, 16,17, 18,NO_LED, 43, 44, 45,46, 47,48, 49,NO_LED, 50 }, - { 24,23, 22, 21,20, 19,NO_LED, 42, 41, 40,39, 38,37, 36, 35,NO_LED }, - { 25,26,NO_LED, 27,NO_LED,28,NO_LED, 29,NO_LED,NO_LED,30,NO_LED,31, 32, 33, 34 } -}, { - // LED Index to Physical Position - {33.069956815567366,3.682020999999999}, - {45.669610362298535,3.682020999999999}, - {58.26926390902969,2.3675390000000007}, - {71.06408616238076,6.4253908117277305}, - {83.38840718545515,10.386107811727733}, - {95.71272820852954,14.346825811727733}, - {108.03704923160393,18.307543811727733}, - {99.25527325569391,34.960896811727736}, - {86.93095223261955,31.000178811727736}, - {74.60663120954516,27.039460811727736}, - {62.282310847869894,23.078743811727733}, - {49.20907990347908,22.732020999999996}, - {33.45951297006511,22.732020999999996}, - {32.34602106811951,41.782021}, - {49.67054469487486,41.782021}, - {62.74377563926569,42.702634811727734}, - {75.06809666234008,46.663351811727736}, - {87.39241702401533,50.624069811727736}, - {99.7167380470897,54.584787811727736}, - {103.2592830942541,75.19885881172773}, - {90.93496273257884,71.23814081172773}, - {78.61064170950445,67.27742281172773}, - {66.28632068643007,63.31670481172773}, - {53.27033449868614,60.832021}, - {32.795897485247984,60.832021}, - {28.071027405223802,79.882021}, - {46.97050772532055,79.882021}, - {80.61264662878455,87.39640381172774}, - {100.63966829128042,93.83256981172772}, - {140.16574696375307,90.36694181172774}, - {166.43688839595956,82.53340481172773}, - {195.65077951985486,79.882021}, - {211.40034645326884,79.882021}, - {224.0,79.882021}, - {236.5996535467312,79.882021}, - {224.0,60.832021}, - {206.67547637324466,60.832021}, - {189.3509527464893,60.832021}, - {176.7512991997581,60.832021}, - {163.73531367341332,63.31670481172773}, - {151.41099265033893,67.27742281172773}, - {139.08667162726456,71.23814081172773}, - {126.7623512655893,75.19885881172773}, - {130.3048963127537,54.584787811727736}, - {142.62921667442893,50.624069811727736}, - {154.95353769750332,46.663351811727736}, - {167.2778587205777,42.702634811727734}, - {180.35108966496855,41.782021}, - {192.95074321169966,41.782021}, - {213.42518022513784,41.782021}, - {236.59390069704355,39.555001000000004}, - {235.27110242442083,20.505001}, - {217.35607106638054,22.732020999999996}, - {201.6065041329666,22.732020999999996}, - {189.00685058623543,22.732020999999996}, - {176.40719703950424,21.99143}, - {163.39121151315945,24.47611381172773}, - {151.06689049008506,28.43683181172773}, - {138.74256946701064,32.39754981172774}, - {126.41824844393628,36.358266811727745}, - {128.14674563977667,16.327184811727733}, - {140.47106666285106,12.366466811727733}, - {152.79538768592545,8.405748811727733}, - {165.11970870899984,4.4450318117277305}, - {178.19293899199153,2.941429999999997}, - {190.7925925387227,3.682020999999999}, - {209.69207285881942,3.682020999999999}, - {233.94830415179814,1.4550009999999958} + {0, 1, 2, 3, 4, 5, 6, 60, 61, 62, 63, 64, 65, NO_LED, 66, 67}, + {12, 11, 10, 9, 8, 7, NO_LED, 59, 58, 57, 56, 55, 54, 53, 52, 51}, + {13, 14, 15, 16, 17, 18, NO_LED, 43, 44, 45, 46, 47, 48, 49, NO_LED, 50}, + {24, 23, 22, 21, 20, 19, NO_LED, 42, 41, 40, 39, 38, 37, 36, 35, NO_LED}, + {25, 26, NO_LED, 27, NO_LED, 28, NO_LED, 29, NO_LED, NO_LED, 30, NO_LED, 31, 32, 33, 34} }, { - // LED Index to Flag - 4,4,4,4,4,4,4,4,4,4,4,4,4,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 + {33.069956815567366, 3.682020999999999}, + {45.669610362298535, 3.682020999999999}, + {58.26926390902969, 2.3675390000000007}, + {71.06408616238076, 6.4253908117277305}, + {83.38840718545515, 10.386107811727733}, + {95.71272820852954, 14.346825811727733}, + {108.03704923160393, 18.307543811727733}, + {99.25527325569391, 34.960896811727736}, + {86.93095223261955, 31.000178811727736}, + {74.60663120954516, 27.039460811727736}, + {62.282310847869894, 23.078743811727733}, + {49.20907990347908, 22.732020999999996}, + {33.45951297006511, 22.732020999999996}, + {32.34602106811951, 41.782021}, + {49.67054469487486, 41.782021}, + {62.74377563926569, 42.702634811727734}, + {75.06809666234008, 46.663351811727736}, + {87.39241702401533, 50.624069811727736}, + {99.7167380470897, 54.584787811727736}, + {103.2592830942541, 75.19885881172773}, + {90.93496273257884, 71.23814081172773}, + {78.61064170950445, 67.27742281172773}, + {66.28632068643007, 63.31670481172773}, + {53.27033449868614, 60.832021}, + {32.795897485247984, 60.832021}, + {28.071027405223802, 79.882021}, + {46.97050772532055, 79.882021}, + {80.61264662878455, 87.39640381172774}, + {100.63966829128042, 93.83256981172772}, + {140.16574696375307, 90.36694181172774}, + {166.43688839595956, 82.53340481172773}, + {195.65077951985486, 79.882021}, + {211.40034645326884, 79.882021}, + {224.0, 79.882021}, + {236.5996535467312, 79.882021}, + {224.0, 60.832021}, + {206.67547637324466, 60.832021}, + {189.3509527464893, 60.832021}, + {176.7512991997581, 60.832021}, + {163.73531367341332, 63.31670481172773}, + {151.41099265033893, 67.27742281172773}, + {139.08667162726456, 71.23814081172773}, + {126.7623512655893, 75.19885881172773}, + {130.3048963127537, 54.584787811727736}, + {142.62921667442893, 50.624069811727736}, + {154.95353769750332, 46.663351811727736}, + {167.2778587205777, 42.702634811727734}, + {180.35108966496855, 41.782021}, + {192.95074321169966, 41.782021}, + {213.42518022513784, 41.782021}, + {236.59390069704355, 39.555001000000004}, + {235.27110242442083, 20.505001}, + {217.35607106638054, 22.732020999999996}, + {201.6065041329666, 22.732020999999996}, + {189.00685058623543, 22.732020999999996}, + {176.40719703950424, 21.99143}, + {163.39121151315945, 24.47611381172773}, + {151.06689049008506, 28.43683181172773}, + {138.74256946701064, 32.39754981172774}, + {126.41824844393628, 36.358266811727745}, + {128.14674563977667, 16.327184811727733}, + {140.47106666285106, 12.366466811727733}, + {152.79538768592545, 8.405748811727733}, + {165.11970870899984, 4.4450318117277305}, + {178.19293899199153, 2.941429999999997}, + {190.7925925387227, 3.682020999999999}, + {209.69207285881942, 3.682020999999999}, + {233.94830415179814, 1.4550009999999958} +},{ + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 4, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 4 } }; +// clang-format on bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { if (host_keyboard_led_state().caps_lock) { @@ -94,7 +98,3 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { } return false; } - - - -#endif diff --git a/keyboards/skeletonkbd/frost68/frost68.h b/keyboards/skeletonkbd/frost68/frost68.h index 99b0ccee21b5..05fd5d11d7ec 100644 --- a/keyboards/skeletonkbd/frost68/frost68.h +++ b/keyboards/skeletonkbd/frost68/frost68.h @@ -1,3 +1,6 @@ +// Copyright 2023 skeletonkbd (@skeletonkbd) +// SPDX-License-Identifier: GPL-2.0-or-later + #pragma once #include "quantum.h" \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index 54c493e89400..23f7e7286b7f 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -1,29 +1,12 @@ -/* Copyright 2020 MudkipMao - * - * 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 . - */ +// Copyright 2023 skeletonkbd (@skeletonkbd) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H // Defines names for use in layer keycodes and the keymap -enum layer_names -{ - _BASE, - _L1, - _L2, - _L3 -}; +enum layer_names { _BASE, _L1, _L2, _L3 }; +// clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_BASE] = LAYOUT_alice( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index 54c493e89400..23f7e7286b7f 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -1,29 +1,12 @@ -/* Copyright 2020 MudkipMao - * - * 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 . - */ +// Copyright 2023 skeletonkbd (@skeletonkbd) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H // Defines names for use in layer keycodes and the keymap -enum layer_names -{ - _BASE, - _L1, - _L2, - _L3 -}; +enum layer_names { _BASE, _L1, _L2, _L3 }; +// clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_BASE] = LAYOUT_alice( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, From 240f5891389a4046f4108813b2dbdcfaf54bd778 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sat, 8 Apr 2023 23:34:53 +0900 Subject: [PATCH 05/36] remove RGBLED_NUM --- keyboards/skeletonkbd/frost68/config.h | 113 +++++++++--------- .../frost68/keymaps/default/keymap.c | 40 +++---- .../skeletonkbd/frost68/keymaps/via/keymap.c | 40 +++---- 3 files changed, 96 insertions(+), 97 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index a0c9b7c90d20..940d4df09cd5 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -24,68 +24,67 @@ #ifdef RGB_MATRIX_ENABLE -#define RGB_DI_PIN GP0 -#define RGBLED_NUM 68 -#define RGB_MATRIX_LED_COUNT RGBLED_NUM -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 +# define RGB_DI_PIN GP0 +# define RGB_MATRIX_LED_COUNT 68 +# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 -#define RGB_DISABLE_WHEN_USB_SUSPENDED -#define USB_SUSPEND_WAKEUP_DELAY 200 +# define RGB_DISABLE_WHEN_USB_SUSPENDED +# define USB_SUSPEND_WAKEUP_DELAY 200 -#define ENABLE_RGB_MATRIX_ALPHAS_MODS -#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_BREATHING -#define ENABLE_RGB_MATRIX_BAND_SAT -#define ENABLE_RGB_MATRIX_BAND_VAL -#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL -#define ENABLE_RGB_MATRIX_CYCLE_ALL -#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN -#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -#define ENABLE_RGB_MATRIX_DUAL_BEACON -#define ENABLE_RGB_MATRIX_RAINBOW_BEACON -#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -#define ENABLE_RGB_MATRIX_RAINDROPS -#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -#define ENABLE_RGB_MATRIX_HUE_BREATHING -#define ENABLE_RGB_MATRIX_HUE_PENDULUM -#define ENABLE_RGB_MATRIX_HUE_WAVE -#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL -#define ENABLE_RGB_MATRIX_PIXEL_FLOW -#define ENABLE_RGB_MATRIX_PIXEL_RAIN +# define ENABLE_RGB_MATRIX_ALPHAS_MODS +# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN +# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT +# define ENABLE_RGB_MATRIX_BREATHING +# define ENABLE_RGB_MATRIX_BAND_SAT +# define ENABLE_RGB_MATRIX_BAND_VAL +# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT +# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL +# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT +# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL +# define ENABLE_RGB_MATRIX_CYCLE_ALL +# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT +# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN +# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON +# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN +# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL +# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL +# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL +# define ENABLE_RGB_MATRIX_DUAL_BEACON +# define ENABLE_RGB_MATRIX_RAINBOW_BEACON +# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS +# define ENABLE_RGB_MATRIX_RAINDROPS +# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS +# define ENABLE_RGB_MATRIX_HUE_BREATHING +# define ENABLE_RGB_MATRIX_HUE_PENDULUM +# define ENABLE_RGB_MATRIX_HUE_WAVE +# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL +# define ENABLE_RGB_MATRIX_PIXEL_FLOW +# define ENABLE_RGB_MATRIX_PIXEL_RAIN -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define ENABLE_RGB_MATRIX_TYPING_HEATMAP -#define ENABLE_RGB_MATRIX_DIGITAL_RAIN +# define RGB_MATRIX_FRAMEBUFFER_EFFECTS +# define ENABLE_RGB_MATRIX_TYPING_HEATMAP +# define ENABLE_RGB_MATRIX_DIGITAL_RAIN -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_KEYRELEASES -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS -#define ENABLE_RGB_MATRIX_SPLASH -#define ENABLE_RGB_MATRIX_MULTISPLASH -#define ENABLE_RGB_MATRIX_SOLID_SPLASH -#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH +# define RGB_MATRIX_KEYPRESSES +# define RGB_MATRIX_KEYRELEASES +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS +# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS +# define ENABLE_RGB_MATRIX_SPLASH +# define ENABLE_RGB_MATRIX_MULTISPLASH +# define ENABLE_RGB_MATRIX_SOLID_SPLASH +# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN +# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN -#define RGB_MATRIX_HUE_STEP 8 -#define RGB_MATRIX_SAT_STEP 8 -#define RGB_MATRIX_VAL_STEP 8 -#define RGB_MATRIX_SPD_STEP 10 +# define RGB_MATRIX_HUE_STEP 8 +# define RGB_MATRIX_SAT_STEP 8 +# define RGB_MATRIX_VAL_STEP 8 +# define RGB_MATRIX_SPD_STEP 10 #endif diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index 23f7e7286b7f..c113d8119d4d 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -9,31 +9,31 @@ enum layer_names { _BASE, _L1, _L2, _L3 }; // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_BASE] = LAYOUT_alice( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), [_L1] = LAYOUT_alice( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), [_L2] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), [_L3] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), }; \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index 23f7e7286b7f..c113d8119d4d 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -9,31 +9,31 @@ enum layer_names { _BASE, _L1, _L2, _L3 }; // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_BASE] = LAYOUT_alice( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), [_L1] = LAYOUT_alice( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), [_L2] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), [_L3] = LAYOUT_alice( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), }; \ No newline at end of file From 48ae568f5cf9951eb6a029d6ce5fda87dba7674c Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 00:53:53 +0900 Subject: [PATCH 06/36] Update keyboards/skeletonkbd/frost68/readme.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com> --- keyboards/skeletonkbd/frost68/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/readme.md b/keyboards/skeletonkbd/frost68/readme.md index 80dbcb4acce8..4864fd1a19e0 100644 --- a/keyboards/skeletonkbd/frost68/readme.md +++ b/keyboards/skeletonkbd/frost68/readme.md @@ -1,6 +1,6 @@ # skeletonkbd/skeleton68 -![skeletonkbd/skeleton68](https://i.imgur.com/ZrtbBNP.jpg) +![skeletonkbd/skeleton68](https://i.imgur.com/ZrtbBNPh.jpg) Alice layout keyboard with acrylic case. From c03cdb86b08b0569a3908d8196908ba2988377b5 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 00:56:21 +0900 Subject: [PATCH 07/36] Update keyboards/skeletonkbd/frost68/keymaps/default/keymap.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deleted empty layers Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com> --- .../skeletonkbd/frost68/keymaps/default/keymap.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index c113d8119d4d..562945817793 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -22,18 +22,5 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), - [_L2] = LAYOUT_alice( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [_L3] = LAYOUT_alice( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), }; \ No newline at end of file From a71aa7c84a57a865a89b8c91fada49c9955e58dc Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 00:56:36 +0900 Subject: [PATCH 08/36] Update keyboards/skeletonkbd/frost68/keymaps/via/keymap.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deleted empty layers Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com> --- keyboards/skeletonkbd/frost68/keymaps/via/keymap.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index c113d8119d4d..562945817793 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -22,18 +22,5 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LNG2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_TRNS), - [_L2] = LAYOUT_alice( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [_L3] = LAYOUT_alice( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), }; \ No newline at end of file From dd17e7faf841f9dc783d82b59e0316511f2c6142 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 00:57:28 +0900 Subject: [PATCH 09/36] Update keyboards/skeletonkbd/frost68/keymaps/default/keymap.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use alias for the layer Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com> --- keyboards/skeletonkbd/frost68/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index 562945817793..0ac767240f3e 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -13,7 +13,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + KC_LCTL, KC_LALT, KC_SPC, MO(_L1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), [_L1] = LAYOUT_alice( KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, From 8a8a87a987fa7ddbdc5ee8a62e134aa38b895c4d Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 00:57:46 +0900 Subject: [PATCH 10/36] Update keyboards/skeletonkbd/frost68/keymaps/via/keymap.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use alias for the layer Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com> --- keyboards/skeletonkbd/frost68/keymaps/via/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index 562945817793..0ac767240f3e 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -13,7 +13,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + KC_LCTL, KC_LALT, KC_SPC, MO(_L1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), [_L1] = LAYOUT_alice( KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, From f7c05da5c01e8ffc697e034d119423af475bc826 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 01:01:36 +0900 Subject: [PATCH 11/36] remove DEBOUNCE --- keyboards/skeletonkbd/frost68/config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index 940d4df09cd5..4ed7bc84a4c1 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -19,7 +19,6 @@ // #define NO_ACTION_TAPPING // #define NO_ACTION_ONESHOT -#define DEBOUNCE 50 #define WS2812_PIO_USE_PIO1 #ifdef RGB_MATRIX_ENABLE From b7a741107a75f0c6185eedaad554188e37423b72 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 01:05:50 +0900 Subject: [PATCH 12/36] remove unnecessary #ifdef --- keyboards/skeletonkbd/frost68/config.h | 116 ++++++++++++------------- 1 file changed, 56 insertions(+), 60 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index 4ed7bc84a4c1..85c53b50e21e 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -21,69 +21,65 @@ #define WS2812_PIO_USE_PIO1 -#ifdef RGB_MATRIX_ENABLE +#define RGB_DI_PIN GP0 +#define RGB_MATRIX_LED_COUNT 68 +#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 -# define RGB_DI_PIN GP0 -# define RGB_MATRIX_LED_COUNT 68 -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 +#define RGB_DISABLE_WHEN_USB_SUSPENDED +#define USB_SUSPEND_WAKEUP_DELAY 200 -# define RGB_DISABLE_WHEN_USB_SUSPENDED -# define USB_SUSPEND_WAKEUP_DELAY 200 +#define ENABLE_RGB_MATRIX_ALPHAS_MODS +#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN +#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT +#define ENABLE_RGB_MATRIX_BREATHING +#define ENABLE_RGB_MATRIX_BAND_SAT +#define ENABLE_RGB_MATRIX_BAND_VAL +#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT +#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL +#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT +#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL +#define ENABLE_RGB_MATRIX_CYCLE_ALL +#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT +#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN +#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON +#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN +#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL +#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL +#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL +#define ENABLE_RGB_MATRIX_DUAL_BEACON +#define ENABLE_RGB_MATRIX_RAINBOW_BEACON +#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS +#define ENABLE_RGB_MATRIX_RAINDROPS +#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS +#define ENABLE_RGB_MATRIX_HUE_BREATHING +#define ENABLE_RGB_MATRIX_HUE_PENDULUM +#define ENABLE_RGB_MATRIX_HUE_WAVE +#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL +#define ENABLE_RGB_MATRIX_PIXEL_FLOW +#define ENABLE_RGB_MATRIX_PIXEL_RAIN -# define ENABLE_RGB_MATRIX_ALPHAS_MODS -# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -# define ENABLE_RGB_MATRIX_BREATHING -# define ENABLE_RGB_MATRIX_BAND_SAT -# define ENABLE_RGB_MATRIX_BAND_VAL -# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL -# define ENABLE_RGB_MATRIX_CYCLE_ALL -# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN -# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -# define ENABLE_RGB_MATRIX_DUAL_BEACON -# define ENABLE_RGB_MATRIX_RAINBOW_BEACON -# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -# define ENABLE_RGB_MATRIX_RAINDROPS -# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -# define ENABLE_RGB_MATRIX_HUE_BREATHING -# define ENABLE_RGB_MATRIX_HUE_PENDULUM -# define ENABLE_RGB_MATRIX_HUE_WAVE -# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL -# define ENABLE_RGB_MATRIX_PIXEL_FLOW -# define ENABLE_RGB_MATRIX_PIXEL_RAIN +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS +#define ENABLE_RGB_MATRIX_TYPING_HEATMAP +#define ENABLE_RGB_MATRIX_DIGITAL_RAIN -# define RGB_MATRIX_FRAMEBUFFER_EFFECTS -# define ENABLE_RGB_MATRIX_TYPING_HEATMAP -# define ENABLE_RGB_MATRIX_DIGITAL_RAIN +#define RGB_MATRIX_KEYPRESSES +#define RGB_MATRIX_KEYRELEASES +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS +#define ENABLE_RGB_MATRIX_SPLASH +#define ENABLE_RGB_MATRIX_MULTISPLASH +#define ENABLE_RGB_MATRIX_SOLID_SPLASH +#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -# define RGB_MATRIX_KEYPRESSES -# define RGB_MATRIX_KEYRELEASES -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS -# define ENABLE_RGB_MATRIX_SPLASH -# define ENABLE_RGB_MATRIX_MULTISPLASH -# define ENABLE_RGB_MATRIX_SOLID_SPLASH -# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH +#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN -# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN - -# define RGB_MATRIX_HUE_STEP 8 -# define RGB_MATRIX_SAT_STEP 8 -# define RGB_MATRIX_VAL_STEP 8 -# define RGB_MATRIX_SPD_STEP 10 - -#endif +#define RGB_MATRIX_HUE_STEP 8 +#define RGB_MATRIX_SAT_STEP 8 +#define RGB_MATRIX_VAL_STEP 8 +#define RGB_MATRIX_SPD_STEP 10 From 5ffd1a108140c195c87d65d923d2bb5759bb66e5 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 01:12:24 +0900 Subject: [PATCH 13/36] delete frost68.h --- keyboards/skeletonkbd/frost68/frost68.c | 2 +- keyboards/skeletonkbd/frost68/frost68.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 keyboards/skeletonkbd/frost68/frost68.h diff --git a/keyboards/skeletonkbd/frost68/frost68.c b/keyboards/skeletonkbd/frost68/frost68.c index 48a0fb59ba3f..0e4590f8b7e3 100644 --- a/keyboards/skeletonkbd/frost68/frost68.c +++ b/keyboards/skeletonkbd/frost68/frost68.c @@ -1,7 +1,7 @@ // Copyright 2023 skeletonkbd (@skeletonkbd) // SPDX-License-Identifier: GPL-2.0-or-later -#include "frost68.h" +#include "quantum.h" // clang-format off led_config_t g_led_config = { { diff --git a/keyboards/skeletonkbd/frost68/frost68.h b/keyboards/skeletonkbd/frost68/frost68.h deleted file mode 100644 index 05fd5d11d7ec..000000000000 --- a/keyboards/skeletonkbd/frost68/frost68.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2023 skeletonkbd (@skeletonkbd) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "quantum.h" \ No newline at end of file From 1da3f3af8cbba958a8889868f43bbdf218fc56ca Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 01:17:55 +0900 Subject: [PATCH 14/36] add url in info.json --- keyboards/skeletonkbd/frost68/info.json | 672 ++++++++++++++++++++---- 1 file changed, 580 insertions(+), 92 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 1184ad4727fc..9991f92c2f0a 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -1,17 +1,17 @@ { - "manufacturer": "skeletonkbd", - "keyboard_name": "Frost68", - "maintainer": "skeletonkbd", - "bootloader": "rp2040", - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": true, - "nkro": true - }, + "manufacturer": "skeletonkbd", + "keyboard_name": "Frost68", + "maintainer": "skeletonkbd", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "matrix_pins": { "cols": [ "GP21", @@ -30,7 +30,6 @@ "GP11", "GP12", "GP13" - ], "rows": [ "GP29", @@ -40,85 +39,574 @@ "GP18" ] }, - "processor": "RP2040", - "url": "", - "usb": { - "device_version": "1.0.0", + "processor": "RP2040", + "url": "https://skeletonkbd.com/products/frost68", + "usb": { + "device_version": "1.0.0", "vid": "0x1209", "pid": "0x68A0" - }, - "layouts": { - "LAYOUT_alice": { - "layout": [ - {"matrix":[0,0], "x":1.76, "y":1.0}, - {"matrix":[0,1], "x":2.76, "y":1.0}, - {"matrix":[0,2], "x":3.76, "y":0.92}, - {"matrix":[0,3], "x":4.9, "y":6.0}, - {"matrix":[0,4], "x":5.9, "y":6.0}, - {"matrix":[0,5], "x":6.9, "y":6.0}, - {"matrix":[0,6], "x":7.9, "y":6.0}, - {"matrix":[0,7], "x":8.35, "y":14.6}, - {"matrix":[0,8], "x":9.35, "y":14.6}, - {"matrix":[0,9], "x":10.35, "y":14.6}, - {"matrix":[0,10], "x":11.35, "y":14.6}, - {"matrix":[0,11], "x":13.18, "y":0.9600000000000001}, - {"matrix":[0,12], "x":14.18, "y":1.0}, - {"matrix":[0,13], "x":15.18, "y":1.0, "w":2}, - {"matrix":[0,15], "x":17.37, "y":0.9}, - {"matrix":[1,0], "x":1.535, "y":2.0, "w":1.5}, - {"matrix":[1,1], "x":3.035, "y":2.0}, - {"matrix":[1,2], "x":4.4, "y":7.0}, - {"matrix":[1,3], "x":5.4, "y":7.0}, - {"matrix":[1,4], "x":6.4, "y":7.0}, - {"matrix":[1,5], "x":7.4, "y":7.0}, - {"matrix":[1,7], "x":7.85, "y":15.6}, - {"matrix":[1,8], "x":8.85, "y":15.6}, - {"matrix":[1,9], "x":9.85, "y":15.6}, - {"matrix":[1,10], "x":10.85, "y":15.6}, - {"matrix":[1,11], "x":12.98, "y":1.9600000000000002}, - {"matrix":[1,12], "x":13.98, "y":2.0}, - {"matrix":[1,13], "x":14.98, "y":2.0}, - {"matrix":[1,14], "x":15.98, "y":2.0, "w":1.5}, - {"matrix":[1,15], "x":17.57, "y":1.9000000000000001}, - {"matrix":[2,0], "x":1.37, "y":3.0, "w":1.75}, - {"matrix":[2,1], "x":3.12, "y":3.0}, - {"matrix":[2,2], "x":4.7, "y":8.0}, - {"matrix":[2,3], "x":5.7, "y":8.0}, - {"matrix":[2,4], "x":6.7, "y":8.0}, - {"matrix":[2,5], "x":7.7, "y":8.0}, - {"matrix":[2,7], "x":8, "y":16.6}, - {"matrix":[2,8], "x":9, "y":16.6}, - {"matrix":[2,9], "x":10, "y":16.6}, - {"matrix":[2,10], "x":11, "y":16.6}, - {"matrix":[2,11], "x":13.26, "y":3.0}, - {"matrix":[2,12], "x":14.26, "y":3.0}, - {"matrix":[2,13], "x":15.26, "y":3.0, "w":2.25}, - {"matrix":[2,15], "x":17.77, "y":2.9000000000000004}, - {"matrix":[3,0], "x":1.1, "y":4.0, "w":2.25}, - {"matrix":[3,1], "x":3.35, "y":4.0}, - {"matrix":[3,2], "x":5.2, "y":9.0}, - {"matrix":[3,3], "x":6.2, "y":9.0}, - {"matrix":[3,4], "x":7.2, "y":9.0}, - {"matrix":[3,5], "x":8.2, "y":9.0}, - {"matrix":[3,7], "x":7.55, "y":17.6}, - {"matrix":[3,8], "x":8.55, "y":17.6}, - {"matrix":[3,9], "x":9.55, "y":17.6}, - {"matrix":[3,10], "x":10.55, "y":17.6}, - {"matrix":[3,11], "x":13.02, "y":4.0}, - {"matrix":[3,12], "x":14.02, "y":4.0}, - {"matrix":[3,13], "x":15.02, "y":4.0, "w":1.75}, - {"matrix":[3,14], "x":16.77, "y":4.0}, - {"matrix":[4,0], "x":1.1, "y":5.0, "w":1.5}, - {"matrix":[4,1], "x":2.6, "y":5.0, "w":1.5}, - {"matrix":[4,3], "x":5.95, "y":10.0, "w":2.25}, - {"matrix":[4,5], "x":8.2, "y":10.0}, - {"matrix":[4,7], "x":7.55, "y":18.6, "w":2.75}, - {"matrix":[4,10], "x":10.3, "y":18.65, "w":1.5}, - {"matrix":[4,12], "x":14.27, "y":5.0, "w":1.5}, - {"matrix":[4,13], "x":15.77, "y":5.0}, - {"matrix":[4,14], "x":16.77, "y":5.0}, - {"matrix":[4,15], "x":17.77, "y":5.0} + }, + "layouts": { + "LAYOUT_alice": { + "layout": [ + { + "matrix": [ + 0, + 0 + ], + "x": 1.76, + "y": 1.0 + }, + { + "matrix": [ + 0, + 1 + ], + "x": 2.76, + "y": 1.0 + }, + { + "matrix": [ + 0, + 2 + ], + "x": 3.76, + "y": 0.92 + }, + { + "matrix": [ + 0, + 3 + ], + "x": 4.9, + "y": 6.0 + }, + { + "matrix": [ + 0, + 4 + ], + "x": 5.9, + "y": 6.0 + }, + { + "matrix": [ + 0, + 5 + ], + "x": 6.9, + "y": 6.0 + }, + { + "matrix": [ + 0, + 6 + ], + "x": 7.9, + "y": 6.0 + }, + { + "matrix": [ + 0, + 7 + ], + "x": 8.35, + "y": 14.6 + }, + { + "matrix": [ + 0, + 8 + ], + "x": 9.35, + "y": 14.6 + }, + { + "matrix": [ + 0, + 9 + ], + "x": 10.35, + "y": 14.6 + }, + { + "matrix": [ + 0, + 10 + ], + "x": 11.35, + "y": 14.6 + }, + { + "matrix": [ + 0, + 11 + ], + "x": 13.18, + "y": 0.9600000000000001 + }, + { + "matrix": [ + 0, + 12 + ], + "x": 14.18, + "y": 1.0 + }, + { + "matrix": [ + 0, + 13 + ], + "x": 15.18, + "y": 1.0, + "w": 2 + }, + { + "matrix": [ + 0, + 15 + ], + "x": 17.37, + "y": 0.9 + }, + { + "matrix": [ + 1, + 0 + ], + "x": 1.535, + "y": 2.0, + "w": 1.5 + }, + { + "matrix": [ + 1, + 1 + ], + "x": 3.035, + "y": 2.0 + }, + { + "matrix": [ + 1, + 2 + ], + "x": 4.4, + "y": 7.0 + }, + { + "matrix": [ + 1, + 3 + ], + "x": 5.4, + "y": 7.0 + }, + { + "matrix": [ + 1, + 4 + ], + "x": 6.4, + "y": 7.0 + }, + { + "matrix": [ + 1, + 5 + ], + "x": 7.4, + "y": 7.0 + }, + { + "matrix": [ + 1, + 7 + ], + "x": 7.85, + "y": 15.6 + }, + { + "matrix": [ + 1, + 8 + ], + "x": 8.85, + "y": 15.6 + }, + { + "matrix": [ + 1, + 9 + ], + "x": 9.85, + "y": 15.6 + }, + { + "matrix": [ + 1, + 10 + ], + "x": 10.85, + "y": 15.6 + }, + { + "matrix": [ + 1, + 11 + ], + "x": 12.98, + "y": 1.9600000000000002 + }, + { + "matrix": [ + 1, + 12 + ], + "x": 13.98, + "y": 2.0 + }, + { + "matrix": [ + 1, + 13 + ], + "x": 14.98, + "y": 2.0 + }, + { + "matrix": [ + 1, + 14 + ], + "x": 15.98, + "y": 2.0, + "w": 1.5 + }, + { + "matrix": [ + 1, + 15 + ], + "x": 17.57, + "y": 1.9000000000000001 + }, + { + "matrix": [ + 2, + 0 + ], + "x": 1.37, + "y": 3.0, + "w": 1.75 + }, + { + "matrix": [ + 2, + 1 + ], + "x": 3.12, + "y": 3.0 + }, + { + "matrix": [ + 2, + 2 + ], + "x": 4.7, + "y": 8.0 + }, + { + "matrix": [ + 2, + 3 + ], + "x": 5.7, + "y": 8.0 + }, + { + "matrix": [ + 2, + 4 + ], + "x": 6.7, + "y": 8.0 + }, + { + "matrix": [ + 2, + 5 + ], + "x": 7.7, + "y": 8.0 + }, + { + "matrix": [ + 2, + 7 + ], + "x": 8, + "y": 16.6 + }, + { + "matrix": [ + 2, + 8 + ], + "x": 9, + "y": 16.6 + }, + { + "matrix": [ + 2, + 9 + ], + "x": 10, + "y": 16.6 + }, + { + "matrix": [ + 2, + 10 + ], + "x": 11, + "y": 16.6 + }, + { + "matrix": [ + 2, + 11 + ], + "x": 13.26, + "y": 3.0 + }, + { + "matrix": [ + 2, + 12 + ], + "x": 14.26, + "y": 3.0 + }, + { + "matrix": [ + 2, + 13 + ], + "x": 15.26, + "y": 3.0, + "w": 2.25 + }, + { + "matrix": [ + 2, + 15 + ], + "x": 17.77, + "y": 2.9000000000000004 + }, + { + "matrix": [ + 3, + 0 + ], + "x": 1.1, + "y": 4.0, + "w": 2.25 + }, + { + "matrix": [ + 3, + 1 + ], + "x": 3.35, + "y": 4.0 + }, + { + "matrix": [ + 3, + 2 + ], + "x": 5.2, + "y": 9.0 + }, + { + "matrix": [ + 3, + 3 + ], + "x": 6.2, + "y": 9.0 + }, + { + "matrix": [ + 3, + 4 + ], + "x": 7.2, + "y": 9.0 + }, + { + "matrix": [ + 3, + 5 + ], + "x": 8.2, + "y": 9.0 + }, + { + "matrix": [ + 3, + 7 + ], + "x": 7.55, + "y": 17.6 + }, + { + "matrix": [ + 3, + 8 + ], + "x": 8.55, + "y": 17.6 + }, + { + "matrix": [ + 3, + 9 + ], + "x": 9.55, + "y": 17.6 + }, + { + "matrix": [ + 3, + 10 + ], + "x": 10.55, + "y": 17.6 + }, + { + "matrix": [ + 3, + 11 + ], + "x": 13.02, + "y": 4.0 + }, + { + "matrix": [ + 3, + 12 + ], + "x": 14.02, + "y": 4.0 + }, + { + "matrix": [ + 3, + 13 + ], + "x": 15.02, + "y": 4.0, + "w": 1.75 + }, + { + "matrix": [ + 3, + 14 + ], + "x": 16.77, + "y": 4.0 + }, + { + "matrix": [ + 4, + 0 + ], + "x": 1.1, + "y": 5.0, + "w": 1.5 + }, + { + "matrix": [ + 4, + 1 + ], + "x": 2.6, + "y": 5.0, + "w": 1.5 + }, + { + "matrix": [ + 4, + 3 + ], + "x": 5.95, + "y": 10.0, + "w": 2.25 + }, + { + "matrix": [ + 4, + 5 + ], + "x": 8.2, + "y": 10.0 + }, + { + "matrix": [ + 4, + 7 + ], + "x": 7.55, + "y": 18.6, + "w": 2.75 + }, + { + "matrix": [ + 4, + 10 + ], + "x": 10.3, + "y": 18.65, + "w": 1.5 + }, + { + "matrix": [ + 4, + 12 + ], + "x": 14.27, + "y": 5.0, + "w": 1.5 + }, + { + "matrix": [ + 4, + 13 + ], + "x": 15.77, + "y": 5.0 + }, + { + "matrix": [ + 4, + 14 + ], + "x": 16.77, + "y": 5.0 + }, + { + "matrix": [ + 4, + 15 + ], + "x": 17.77, + "y": 5.0 + } ] - } - } + } + } } \ No newline at end of file From 9e6ecb2c85e65b806950c4e672292631a14883e7 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 01:25:51 +0900 Subject: [PATCH 15/36] change layout name to 'LAYOUT' --- keyboards/skeletonkbd/frost68/info.json | 2 +- keyboards/skeletonkbd/frost68/keymaps/default/keymap.c | 2 +- keyboards/skeletonkbd/frost68/keymaps/via/keymap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 9991f92c2f0a..7db9b1c16729 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -47,7 +47,7 @@ "pid": "0x68A0" }, "layouts": { - "LAYOUT_alice": { + "LAYOUT": { "layout": [ { "matrix": [ diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index 0ac767240f3e..4223c7047e77 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -8,7 +8,7 @@ enum layer_names { _BASE, _L1, _L2, _L3 }; // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_alice( + [_BASE] = LAYOUT( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index 0ac767240f3e..4223c7047e77 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -8,7 +8,7 @@ enum layer_names { _BASE, _L1, _L2, _L3 }; // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_alice( + [_BASE] = LAYOUT( KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_END, From f2ac0812aa61651fbec42bf2e36429570722d3f2 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 02:02:23 +0900 Subject: [PATCH 16/36] change layout name to 'LAYOUT'(fix) --- keyboards/skeletonkbd/frost68/keymaps/default/keymap.c | 2 +- keyboards/skeletonkbd/frost68/keymaps/via/keymap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index 4223c7047e77..8a900f623a1b 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -15,7 +15,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_LCTL, KC_LALT, KC_SPC, MO(_L1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - [_L1] = LAYOUT_alice( + [_L1] = LAYOUT( KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index 4223c7047e77..8a900f623a1b 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -15,7 +15,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LNG1, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_LCTL, KC_LALT, KC_SPC, MO(_L1), KC_SPC, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - [_L1] = LAYOUT_alice( + [_L1] = LAYOUT( KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_PSCR, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_SCRL, KC_PAUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, From cbb27dfaf7060c7bc5c895d34456eb506e82b8b8 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 02:08:04 +0900 Subject: [PATCH 17/36] round off coordinates --- keyboards/skeletonkbd/frost68/info.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 7db9b1c16729..a0744fa79069 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -143,7 +143,7 @@ 11 ], "x": 13.18, - "y": 0.9600000000000001 + "y": 1.0 }, { "matrix": [ @@ -257,7 +257,7 @@ 11 ], "x": 12.98, - "y": 1.9600000000000002 + "y": 2.0 }, { "matrix": [ @@ -290,7 +290,7 @@ 15 ], "x": 17.57, - "y": 1.9000000000000001 + "y": 1.9 }, { "matrix": [ @@ -404,7 +404,7 @@ 15 ], "x": 17.77, - "y": 2.9000000000000004 + "y": 2.9 }, { "matrix": [ From a6357b0a4342e847aa2885affdf037653c1060d4 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 05:01:27 +0900 Subject: [PATCH 18/36] Moved RGB Matrix layout information from frost68.c to info.json --- keyboards/skeletonkbd/frost68/config.h | 6 - keyboards/skeletonkbd/frost68/frost68.c | 85 ---- keyboards/skeletonkbd/frost68/info.json | 625 +++++++++++++++++++++++- keyboards/skeletonkbd/frost68/rules.mk | 2 - 4 files changed, 624 insertions(+), 94 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index 85c53b50e21e..569445a8ae45 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -23,7 +23,6 @@ #define RGB_DI_PIN GP0 #define RGB_MATRIX_LED_COUNT 68 -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 118 #define RGB_DISABLE_WHEN_USB_SUSPENDED #define USB_SUSPEND_WAKEUP_DELAY 200 @@ -78,8 +77,3 @@ #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN - -#define RGB_MATRIX_HUE_STEP 8 -#define RGB_MATRIX_SAT_STEP 8 -#define RGB_MATRIX_VAL_STEP 8 -#define RGB_MATRIX_SPD_STEP 10 diff --git a/keyboards/skeletonkbd/frost68/frost68.c b/keyboards/skeletonkbd/frost68/frost68.c index 0e4590f8b7e3..69e17148e4ab 100644 --- a/keyboards/skeletonkbd/frost68/frost68.c +++ b/keyboards/skeletonkbd/frost68/frost68.c @@ -3,91 +3,6 @@ #include "quantum.h" -// clang-format off -led_config_t g_led_config = { { - {0, 1, 2, 3, 4, 5, 6, 60, 61, 62, 63, 64, 65, NO_LED, 66, 67}, - {12, 11, 10, 9, 8, 7, NO_LED, 59, 58, 57, 56, 55, 54, 53, 52, 51}, - {13, 14, 15, 16, 17, 18, NO_LED, 43, 44, 45, 46, 47, 48, 49, NO_LED, 50}, - {24, 23, 22, 21, 20, 19, NO_LED, 42, 41, 40, 39, 38, 37, 36, 35, NO_LED}, - {25, 26, NO_LED, 27, NO_LED, 28, NO_LED, 29, NO_LED, NO_LED, 30, NO_LED, 31, 32, 33, 34} -}, { - {33.069956815567366, 3.682020999999999}, - {45.669610362298535, 3.682020999999999}, - {58.26926390902969, 2.3675390000000007}, - {71.06408616238076, 6.4253908117277305}, - {83.38840718545515, 10.386107811727733}, - {95.71272820852954, 14.346825811727733}, - {108.03704923160393, 18.307543811727733}, - {99.25527325569391, 34.960896811727736}, - {86.93095223261955, 31.000178811727736}, - {74.60663120954516, 27.039460811727736}, - {62.282310847869894, 23.078743811727733}, - {49.20907990347908, 22.732020999999996}, - {33.45951297006511, 22.732020999999996}, - {32.34602106811951, 41.782021}, - {49.67054469487486, 41.782021}, - {62.74377563926569, 42.702634811727734}, - {75.06809666234008, 46.663351811727736}, - {87.39241702401533, 50.624069811727736}, - {99.7167380470897, 54.584787811727736}, - {103.2592830942541, 75.19885881172773}, - {90.93496273257884, 71.23814081172773}, - {78.61064170950445, 67.27742281172773}, - {66.28632068643007, 63.31670481172773}, - {53.27033449868614, 60.832021}, - {32.795897485247984, 60.832021}, - {28.071027405223802, 79.882021}, - {46.97050772532055, 79.882021}, - {80.61264662878455, 87.39640381172774}, - {100.63966829128042, 93.83256981172772}, - {140.16574696375307, 90.36694181172774}, - {166.43688839595956, 82.53340481172773}, - {195.65077951985486, 79.882021}, - {211.40034645326884, 79.882021}, - {224.0, 79.882021}, - {236.5996535467312, 79.882021}, - {224.0, 60.832021}, - {206.67547637324466, 60.832021}, - {189.3509527464893, 60.832021}, - {176.7512991997581, 60.832021}, - {163.73531367341332, 63.31670481172773}, - {151.41099265033893, 67.27742281172773}, - {139.08667162726456, 71.23814081172773}, - {126.7623512655893, 75.19885881172773}, - {130.3048963127537, 54.584787811727736}, - {142.62921667442893, 50.624069811727736}, - {154.95353769750332, 46.663351811727736}, - {167.2778587205777, 42.702634811727734}, - {180.35108966496855, 41.782021}, - {192.95074321169966, 41.782021}, - {213.42518022513784, 41.782021}, - {236.59390069704355, 39.555001000000004}, - {235.27110242442083, 20.505001}, - {217.35607106638054, 22.732020999999996}, - {201.6065041329666, 22.732020999999996}, - {189.00685058623543, 22.732020999999996}, - {176.40719703950424, 21.99143}, - {163.39121151315945, 24.47611381172773}, - {151.06689049008506, 28.43683181172773}, - {138.74256946701064, 32.39754981172774}, - {126.41824844393628, 36.358266811727745}, - {128.14674563977667, 16.327184811727733}, - {140.47106666285106, 12.366466811727733}, - {152.79538768592545, 8.405748811727733}, - {165.11970870899984, 4.4450318117277305}, - {178.19293899199153, 2.941429999999997}, - {190.7925925387227, 3.682020999999999}, - {209.69207285881942, 3.682020999999999}, - {233.94830415179814, 1.4550009999999958} -},{ - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4 -} }; -// clang-format on - bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { if (host_keyboard_led_state().caps_lock) { for (uint8_t i = led_min; i < led_max; i++) { diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index a0744fa79069..a6d99528b4a9 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -10,7 +10,8 @@ "console": false, "extrakey": true, "mousekey": true, - "nkro": true + "nkro": true, + "rgb_matrix": true }, "matrix_pins": { "cols": [ @@ -608,5 +609,627 @@ } ] } + }, + "rgb_matrix": { + "driver": "WS2812", + "max_brightness": 118, + "hue_steps": 8, + "sat_steps": 8, + "val_steps": 8, + "speed_steps": 10, + "layout": [ + { + "flags": 4, + "matrix": [ + 0, + 0 + ], + "x": 33.1, + "y": 3.7 + }, + { + "flags": 4, + "matrix": [ + 0, + 1 + ], + "x": 45.7, + "y": 3.7 + }, + { + "flags": 4, + "matrix": [ + 0, + 2 + ], + "x": 58.3, + "y": 2.4 + }, + { + "flags": 4, + "matrix": [ + 0, + 3 + ], + "x": 71.1, + "y": 6.4 + }, + { + "flags": 4, + "matrix": [ + 0, + 4 + ], + "x": 83.4, + "y": 10.4 + }, + { + "flags": 4, + "matrix": [ + 0, + 5 + ], + "x": 95.7, + "y": 14.3 + }, + { + "flags": 4, + "matrix": [ + 0, + 6 + ], + "x": 108.0, + "y": 18.3 + }, + { + "flags": 4, + "matrix": [ + 1, + 5 + ], + "x": 99.3, + "y": 35.0 + }, + { + "flags": 4, + "matrix": [ + 1, + 4 + ], + "x": 86.9, + "y": 31.0 + }, + { + "flags": 4, + "matrix": [ + 1, + 3 + ], + "x": 74.6, + "y": 27.0 + }, + { + "flags": 4, + "matrix": [ + 1, + 2 + ], + "x": 62.3, + "y": 23.1 + }, + { + "flags": 4, + "matrix": [ + 1, + 1 + ], + "x": 49.2, + "y": 22.7 + }, + { + "flags": 4, + "matrix": [ + 1, + 0 + ], + "x": 33.5, + "y": 22.7 + }, + { + "flags": 8, + "matrix": [ + 2, + 0 + ], + "x": 32.3, + "y": 41.8 + }, + { + "flags": 4, + "matrix": [ + 2, + 1 + ], + "x": 49.7, + "y": 41.8 + }, + { + "flags": 4, + "matrix": [ + 2, + 2 + ], + "x": 62.7, + "y": 42.7 + }, + { + "flags": 4, + "matrix": [ + 2, + 3 + ], + "x": 75.1, + "y": 46.7 + }, + { + "flags": 4, + "matrix": [ + 2, + 4 + ], + "x": 87.4, + "y": 50.6 + }, + { + "flags": 4, + "matrix": [ + 2, + 5 + ], + "x": 99.7, + "y": 54.6 + }, + { + "flags": 4, + "matrix": [ + 3, + 5 + ], + "x": 103.3, + "y": 75.2 + }, + { + "flags": 4, + "matrix": [ + 3, + 4 + ], + "x": 90.9, + "y": 71.2 + }, + { + "flags": 4, + "matrix": [ + 3, + 3 + ], + "x": 78.6, + "y": 67.3 + }, + { + "flags": 4, + "matrix": [ + 3, + 2 + ], + "x": 66.3, + "y": 63.3 + }, + { + "flags": 4, + "matrix": [ + 3, + 1 + ], + "x": 53.3, + "y": 60.8 + }, + { + "flags": 4, + "matrix": [ + 3, + 0 + ], + "x": 32.8, + "y": 60.8 + }, + { + "flags": 4, + "matrix": [ + 4, + 0 + ], + "x": 28.1, + "y": 79.9 + }, + { + "flags": 4, + "matrix": [ + 4, + 1 + ], + "x": 47.0, + "y": 79.9 + }, + { + "flags": 4, + "matrix": [ + 4, + 3 + ], + "x": 80.6, + "y": 87.4 + }, + { + "flags": 4, + "matrix": [ + 4, + 5 + ], + "x": 100.6, + "y": 93.8 + }, + { + "flags": 4, + "matrix": [ + 4, + 7 + ], + "x": 140.2, + "y": 90.4 + }, + { + "flags": 4, + "matrix": [ + 4, + 10 + ], + "x": 166.4, + "y": 82.5 + }, + { + "flags": 4, + "matrix": [ + 4, + 12 + ], + "x": 195.7, + "y": 79.9 + }, + { + "flags": 4, + "matrix": [ + 4, + 13 + ], + "x": 211.4, + "y": 79.9 + }, + { + "flags": 4, + "matrix": [ + 4, + 14 + ], + "x": 224.0, + "y": 79.9 + }, + { + "flags": 4, + "matrix": [ + 4, + 15 + ], + "x": 236.6, + "y": 79.9 + }, + { + "flags": 4, + "matrix": [ + 3, + 14 + ], + "x": 224.0, + "y": 60.8 + }, + { + "flags": 4, + "matrix": [ + 3, + 13 + ], + "x": 206.7, + "y": 60.8 + }, + { + "flags": 4, + "matrix": [ + 3, + 12 + ], + "x": 189.4, + "y": 60.8 + }, + { + "flags": 4, + "matrix": [ + 3, + 11 + ], + "x": 176.8, + "y": 60.8 + }, + { + "flags": 4, + "matrix": [ + 3, + 10 + ], + "x": 163.7, + "y": 63.3 + }, + { + "flags": 4, + "matrix": [ + 3, + 9 + ], + "x": 151.4, + "y": 67.3 + }, + { + "flags": 4, + "matrix": [ + 3, + 8 + ], + "x": 139.1, + "y": 71.2 + }, + { + "flags": 4, + "matrix": [ + 3, + 7 + ], + "x": 126.8, + "y": 75.2 + }, + { + "flags": 4, + "matrix": [ + 2, + 7 + ], + "x": 130.3, + "y": 54.6 + }, + { + "flags": 4, + "matrix": [ + 2, + 8 + ], + "x": 142.6, + "y": 50.6 + }, + { + "flags": 4, + "matrix": [ + 2, + 9 + ], + "x": 155.0, + "y": 46.7 + }, + { + "flags": 4, + "matrix": [ + 2, + 10 + ], + "x": 167.3, + "y": 42.7 + }, + { + "flags": 4, + "matrix": [ + 2, + 11 + ], + "x": 180.4, + "y": 41.8 + }, + { + "flags": 4, + "matrix": [ + 2, + 12 + ], + "x": 193.0, + "y": 41.8 + }, + { + "flags": 4, + "matrix": [ + 2, + 13 + ], + "x": 213.4, + "y": 41.8 + }, + { + "flags": 4, + "matrix": [ + 2, + 15 + ], + "x": 236.6, + "y": 39.6 + }, + { + "flags": 4, + "matrix": [ + 1, + 15 + ], + "x": 235.3, + "y": 20.5 + }, + { + "flags": 4, + "matrix": [ + 1, + 14 + ], + "x": 217.4, + "y": 22.7 + }, + { + "flags": 4, + "matrix": [ + 1, + 13 + ], + "x": 201.6, + "y": 22.7 + }, + { + "flags": 4, + "matrix": [ + 1, + 12 + ], + "x": 189.0, + "y": 22.7 + }, + { + "flags": 4, + "matrix": [ + 1, + 11 + ], + "x": 176.4, + "y": 22.0 + }, + { + "flags": 4, + "matrix": [ + 1, + 10 + ], + "x": 163.4, + "y": 24.5 + }, + { + "flags": 4, + "matrix": [ + 1, + 9 + ], + "x": 151.1, + "y": 28.4 + }, + { + "flags": 4, + "matrix": [ + 1, + 8 + ], + "x": 138.7, + "y": 32.4 + }, + { + "flags": 4, + "matrix": [ + 1, + 7 + ], + "x": 126.4, + "y": 36.4 + }, + { + "flags": 4, + "matrix": [ + 0, + 7 + ], + "x": 128.1, + "y": 16.3 + }, + { + "flags": 4, + "matrix": [ + 0, + 8 + ], + "x": 140.5, + "y": 12.4 + }, + { + "flags": 4, + "matrix": [ + 0, + 9 + ], + "x": 152.8, + "y": 8.4 + }, + { + "flags": 4, + "matrix": [ + 0, + 10 + ], + "x": 165.1, + "y": 4.4 + }, + { + "flags": 4, + "matrix": [ + 0, + 11 + ], + "x": 178.2, + "y": 2.9 + }, + { + "flags": 4, + "matrix": [ + 0, + 12 + ], + "x": 190.8, + "y": 3.7 + }, + { + "flags": 4, + "matrix": [ + 0, + 14 + ], + "x": 209.7, + "y": 3.7 + }, + { + "flags": 4, + "matrix": [ + 0, + 15 + ], + "x": 233.9, + "y": 1.5 + } + ] } } \ No newline at end of file diff --git a/keyboards/skeletonkbd/frost68/rules.mk b/keyboards/skeletonkbd/frost68/rules.mk index cd8d14cdef23..3554b7ceb0a3 100644 --- a/keyboards/skeletonkbd/frost68/rules.mk +++ b/keyboards/skeletonkbd/frost68/rules.mk @@ -1,6 +1,4 @@ # This file intentionally left blank WS2812_DRIVER = vendor RGBLIGHT_ENABLE = no -RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 DEBOUNCE_TYPE = sym_eager_pk From 6821c80ec116f13a33c294eaa2a52957c48b5e4b Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 18:32:00 +0900 Subject: [PATCH 19/36] Update keyboards/skeletonkbd/frost68/frost68.c Co-authored-by: Drashna Jaelre --- keyboards/skeletonkbd/frost68/frost68.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/frost68.c b/keyboards/skeletonkbd/frost68/frost68.c index 69e17148e4ab..4bfd3fa28f30 100644 --- a/keyboards/skeletonkbd/frost68/frost68.c +++ b/keyboards/skeletonkbd/frost68/frost68.c @@ -3,7 +3,10 @@ #include "quantum.h" -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { +bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) { + if (!rgb_matrix_indicators_advanced_user(led_min, led_max)) { + return false; + } if (host_keyboard_led_state().caps_lock) { for (uint8_t i = led_min; i < led_max; i++) { if (g_led_config.flags[i] & LED_FLAG_INDICATOR) { From 615ffedcfac873efc44d85ed033ccc02a1e9fd74 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 18:32:13 +0900 Subject: [PATCH 20/36] Update keyboards/skeletonkbd/frost68/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre --- keyboards/skeletonkbd/frost68/keymaps/default/keymap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c index 8a900f623a1b..3d0d6dc794c4 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/default/keymap.c @@ -4,7 +4,10 @@ #include QMK_KEYBOARD_H // Defines names for use in layer keycodes and the keymap -enum layer_names { _BASE, _L1, _L2, _L3 }; +enum layer_names { + _BASE, + _L1, +}; // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { From ba60942c353e2daf1347651bbcde96500ab26578 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Sun, 9 Apr 2023 18:32:24 +0900 Subject: [PATCH 21/36] Update keyboards/skeletonkbd/frost68/keymaps/via/keymap.c Co-authored-by: Drashna Jaelre --- keyboards/skeletonkbd/frost68/keymaps/via/keymap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c index 8a900f623a1b..16d734b83f35 100644 --- a/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c +++ b/keyboards/skeletonkbd/frost68/keymaps/via/keymap.c @@ -4,7 +4,10 @@ #include QMK_KEYBOARD_H // Defines names for use in layer keycodes and the keymap -enum layer_names { _BASE, _L1, _L2, _L3 }; +enum layer_names { + _BASE, + _L1, +}; // clang-format off const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { From 573c26589149f2f007e78c4f89cec8d58d00efd7 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Sun, 9 Apr 2023 18:34:06 +0900 Subject: [PATCH 22/36] Update info.json change url --- keyboards/skeletonkbd/frost68/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index a6d99528b4a9..6e96b7c6824d 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -41,7 +41,7 @@ ] }, "processor": "RP2040", - "url": "https://skeletonkbd.com/products/frost68", + "url": "https://pid.codes/1209/68A0/", "usb": { "device_version": "1.0.0", "vid": "0x1209", From 7008d9f35ab876a2cc67df1f84f60f0ba954e3b0 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Mon, 10 Apr 2023 15:05:28 +0900 Subject: [PATCH 23/36] update url --- keyboards/skeletonkbd/frost68/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 6e96b7c6824d..a6d99528b4a9 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -41,7 +41,7 @@ ] }, "processor": "RP2040", - "url": "https://pid.codes/1209/68A0/", + "url": "https://skeletonkbd.com/products/frost68", "usb": { "device_version": "1.0.0", "vid": "0x1209", From cbcccc3c7824f336e2cbebb15cee92a9f8594a5e Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Mon, 10 Apr 2023 15:08:09 +0900 Subject: [PATCH 24/36] change the url to the same one you applied for in pid.codes --- keyboards/skeletonkbd/frost68/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index a6d99528b4a9..0cc006fa1f10 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -41,7 +41,7 @@ ] }, "processor": "RP2040", - "url": "https://skeletonkbd.com/products/frost68", + "url": "https://skeletonkbd.com/", "usb": { "device_version": "1.0.0", "vid": "0x1209", From 9fe1ae8f57976b9419efa166c7eb6cfe9d15b9e5 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Tue, 11 Apr 2023 22:49:39 +0900 Subject: [PATCH 25/36] Update keyboards/skeletonkbd/frost68/rules.mk Co-authored-by: Joel Challis --- keyboards/skeletonkbd/frost68/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/rules.mk b/keyboards/skeletonkbd/frost68/rules.mk index 3554b7ceb0a3..7a0301ae762d 100644 --- a/keyboards/skeletonkbd/frost68/rules.mk +++ b/keyboards/skeletonkbd/frost68/rules.mk @@ -1,4 +1,3 @@ # This file intentionally left blank WS2812_DRIVER = vendor -RGBLIGHT_ENABLE = no DEBOUNCE_TYPE = sym_eager_pk From 7fc958de2de54ca8762b4202c108b53fabbbebc4 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Tue, 11 Apr 2023 22:52:49 +0900 Subject: [PATCH 26/36] Update keyboards/skeletonkbd/frost68/rules.mk Co-authored-by: Joel Challis --- keyboards/skeletonkbd/frost68/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/rules.mk b/keyboards/skeletonkbd/frost68/rules.mk index 7a0301ae762d..5b9d738128d2 100644 --- a/keyboards/skeletonkbd/frost68/rules.mk +++ b/keyboards/skeletonkbd/frost68/rules.mk @@ -1,3 +1,2 @@ -# This file intentionally left blank WS2812_DRIVER = vendor DEBOUNCE_TYPE = sym_eager_pk From 17be8c7573bf9260a50b2cd3dd95a87cd885d457 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Mon, 12 Jun 2023 23:05:47 +0900 Subject: [PATCH 27/36] format info.json --- keyboards/skeletonkbd/frost68/info.json | 1410 +++-------------------- 1 file changed, 177 insertions(+), 1233 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 0cc006fa1f10..5e1bf3611554 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -1,1235 +1,179 @@ { - "manufacturer": "skeletonkbd", - "keyboard_name": "Frost68", - "maintainer": "skeletonkbd", - "bootloader": "rp2040", - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgb_matrix": true - }, - "matrix_pins": { - "cols": [ - "GP21", - "GP22", - "GP23", - "GP24", - "GP25", - "GP26", - "GP28", - "GP3", - "GP4", - "GP5", - "GP6", - "GP9", - "GP10", - "GP11", - "GP12", - "GP13" - ], - "rows": [ - "GP29", - "GP27", - "GP20", - "GP19", - "GP18" - ] - }, - "processor": "RP2040", - "url": "https://skeletonkbd.com/", - "usb": { - "device_version": "1.0.0", - "vid": "0x1209", - "pid": "0x68A0" - }, - "layouts": { - "LAYOUT": { - "layout": [ - { - "matrix": [ - 0, - 0 - ], - "x": 1.76, - "y": 1.0 - }, - { - "matrix": [ - 0, - 1 - ], - "x": 2.76, - "y": 1.0 - }, - { - "matrix": [ - 0, - 2 - ], - "x": 3.76, - "y": 0.92 - }, - { - "matrix": [ - 0, - 3 - ], - "x": 4.9, - "y": 6.0 - }, - { - "matrix": [ - 0, - 4 - ], - "x": 5.9, - "y": 6.0 - }, - { - "matrix": [ - 0, - 5 - ], - "x": 6.9, - "y": 6.0 - }, - { - "matrix": [ - 0, - 6 - ], - "x": 7.9, - "y": 6.0 - }, - { - "matrix": [ - 0, - 7 - ], - "x": 8.35, - "y": 14.6 - }, - { - "matrix": [ - 0, - 8 - ], - "x": 9.35, - "y": 14.6 - }, - { - "matrix": [ - 0, - 9 - ], - "x": 10.35, - "y": 14.6 - }, - { - "matrix": [ - 0, - 10 - ], - "x": 11.35, - "y": 14.6 - }, - { - "matrix": [ - 0, - 11 - ], - "x": 13.18, - "y": 1.0 - }, - { - "matrix": [ - 0, - 12 - ], - "x": 14.18, - "y": 1.0 - }, - { - "matrix": [ - 0, - 13 - ], - "x": 15.18, - "y": 1.0, - "w": 2 - }, - { - "matrix": [ - 0, - 15 - ], - "x": 17.37, - "y": 0.9 - }, - { - "matrix": [ - 1, - 0 - ], - "x": 1.535, - "y": 2.0, - "w": 1.5 - }, - { - "matrix": [ - 1, - 1 - ], - "x": 3.035, - "y": 2.0 - }, - { - "matrix": [ - 1, - 2 - ], - "x": 4.4, - "y": 7.0 - }, - { - "matrix": [ - 1, - 3 - ], - "x": 5.4, - "y": 7.0 - }, - { - "matrix": [ - 1, - 4 - ], - "x": 6.4, - "y": 7.0 - }, - { - "matrix": [ - 1, - 5 - ], - "x": 7.4, - "y": 7.0 - }, - { - "matrix": [ - 1, - 7 - ], - "x": 7.85, - "y": 15.6 - }, - { - "matrix": [ - 1, - 8 - ], - "x": 8.85, - "y": 15.6 - }, - { - "matrix": [ - 1, - 9 - ], - "x": 9.85, - "y": 15.6 - }, - { - "matrix": [ - 1, - 10 - ], - "x": 10.85, - "y": 15.6 - }, - { - "matrix": [ - 1, - 11 - ], - "x": 12.98, - "y": 2.0 - }, - { - "matrix": [ - 1, - 12 - ], - "x": 13.98, - "y": 2.0 - }, - { - "matrix": [ - 1, - 13 - ], - "x": 14.98, - "y": 2.0 - }, - { - "matrix": [ - 1, - 14 - ], - "x": 15.98, - "y": 2.0, - "w": 1.5 - }, - { - "matrix": [ - 1, - 15 - ], - "x": 17.57, - "y": 1.9 - }, - { - "matrix": [ - 2, - 0 - ], - "x": 1.37, - "y": 3.0, - "w": 1.75 - }, - { - "matrix": [ - 2, - 1 - ], - "x": 3.12, - "y": 3.0 - }, - { - "matrix": [ - 2, - 2 - ], - "x": 4.7, - "y": 8.0 - }, - { - "matrix": [ - 2, - 3 - ], - "x": 5.7, - "y": 8.0 - }, - { - "matrix": [ - 2, - 4 - ], - "x": 6.7, - "y": 8.0 - }, - { - "matrix": [ - 2, - 5 - ], - "x": 7.7, - "y": 8.0 - }, - { - "matrix": [ - 2, - 7 - ], - "x": 8, - "y": 16.6 - }, - { - "matrix": [ - 2, - 8 - ], - "x": 9, - "y": 16.6 - }, - { - "matrix": [ - 2, - 9 - ], - "x": 10, - "y": 16.6 - }, - { - "matrix": [ - 2, - 10 - ], - "x": 11, - "y": 16.6 - }, - { - "matrix": [ - 2, - 11 - ], - "x": 13.26, - "y": 3.0 - }, - { - "matrix": [ - 2, - 12 - ], - "x": 14.26, - "y": 3.0 - }, - { - "matrix": [ - 2, - 13 - ], - "x": 15.26, - "y": 3.0, - "w": 2.25 - }, - { - "matrix": [ - 2, - 15 - ], - "x": 17.77, - "y": 2.9 - }, - { - "matrix": [ - 3, - 0 - ], - "x": 1.1, - "y": 4.0, - "w": 2.25 - }, - { - "matrix": [ - 3, - 1 - ], - "x": 3.35, - "y": 4.0 - }, - { - "matrix": [ - 3, - 2 - ], - "x": 5.2, - "y": 9.0 - }, - { - "matrix": [ - 3, - 3 - ], - "x": 6.2, - "y": 9.0 - }, - { - "matrix": [ - 3, - 4 - ], - "x": 7.2, - "y": 9.0 - }, - { - "matrix": [ - 3, - 5 - ], - "x": 8.2, - "y": 9.0 - }, - { - "matrix": [ - 3, - 7 - ], - "x": 7.55, - "y": 17.6 - }, - { - "matrix": [ - 3, - 8 - ], - "x": 8.55, - "y": 17.6 - }, - { - "matrix": [ - 3, - 9 - ], - "x": 9.55, - "y": 17.6 - }, - { - "matrix": [ - 3, - 10 - ], - "x": 10.55, - "y": 17.6 - }, - { - "matrix": [ - 3, - 11 - ], - "x": 13.02, - "y": 4.0 - }, - { - "matrix": [ - 3, - 12 - ], - "x": 14.02, - "y": 4.0 - }, - { - "matrix": [ - 3, - 13 - ], - "x": 15.02, - "y": 4.0, - "w": 1.75 - }, - { - "matrix": [ - 3, - 14 - ], - "x": 16.77, - "y": 4.0 - }, - { - "matrix": [ - 4, - 0 - ], - "x": 1.1, - "y": 5.0, - "w": 1.5 - }, - { - "matrix": [ - 4, - 1 - ], - "x": 2.6, - "y": 5.0, - "w": 1.5 - }, - { - "matrix": [ - 4, - 3 - ], - "x": 5.95, - "y": 10.0, - "w": 2.25 - }, - { - "matrix": [ - 4, - 5 - ], - "x": 8.2, - "y": 10.0 - }, - { - "matrix": [ - 4, - 7 - ], - "x": 7.55, - "y": 18.6, - "w": 2.75 - }, - { - "matrix": [ - 4, - 10 - ], - "x": 10.3, - "y": 18.65, - "w": 1.5 - }, - { - "matrix": [ - 4, - 12 - ], - "x": 14.27, - "y": 5.0, - "w": 1.5 - }, - { - "matrix": [ - 4, - 13 - ], - "x": 15.77, - "y": 5.0 - }, - { - "matrix": [ - 4, - 14 - ], - "x": 16.77, - "y": 5.0 - }, - { - "matrix": [ - 4, - 15 - ], - "x": 17.77, - "y": 5.0 - } - ] - } - }, - "rgb_matrix": { - "driver": "WS2812", - "max_brightness": 118, - "hue_steps": 8, - "sat_steps": 8, - "val_steps": 8, - "speed_steps": 10, - "layout": [ - { - "flags": 4, - "matrix": [ - 0, - 0 - ], - "x": 33.1, - "y": 3.7 - }, - { - "flags": 4, - "matrix": [ - 0, - 1 - ], - "x": 45.7, - "y": 3.7 - }, - { - "flags": 4, - "matrix": [ - 0, - 2 - ], - "x": 58.3, - "y": 2.4 - }, - { - "flags": 4, - "matrix": [ - 0, - 3 - ], - "x": 71.1, - "y": 6.4 - }, - { - "flags": 4, - "matrix": [ - 0, - 4 - ], - "x": 83.4, - "y": 10.4 - }, - { - "flags": 4, - "matrix": [ - 0, - 5 - ], - "x": 95.7, - "y": 14.3 - }, - { - "flags": 4, - "matrix": [ - 0, - 6 - ], - "x": 108.0, - "y": 18.3 - }, - { - "flags": 4, - "matrix": [ - 1, - 5 - ], - "x": 99.3, - "y": 35.0 - }, - { - "flags": 4, - "matrix": [ - 1, - 4 - ], - "x": 86.9, - "y": 31.0 - }, - { - "flags": 4, - "matrix": [ - 1, - 3 - ], - "x": 74.6, - "y": 27.0 - }, - { - "flags": 4, - "matrix": [ - 1, - 2 - ], - "x": 62.3, - "y": 23.1 - }, - { - "flags": 4, - "matrix": [ - 1, - 1 - ], - "x": 49.2, - "y": 22.7 - }, - { - "flags": 4, - "matrix": [ - 1, - 0 - ], - "x": 33.5, - "y": 22.7 - }, - { - "flags": 8, - "matrix": [ - 2, - 0 - ], - "x": 32.3, - "y": 41.8 - }, - { - "flags": 4, - "matrix": [ - 2, - 1 - ], - "x": 49.7, - "y": 41.8 - }, - { - "flags": 4, - "matrix": [ - 2, - 2 - ], - "x": 62.7, - "y": 42.7 - }, - { - "flags": 4, - "matrix": [ - 2, - 3 - ], - "x": 75.1, - "y": 46.7 - }, - { - "flags": 4, - "matrix": [ - 2, - 4 - ], - "x": 87.4, - "y": 50.6 - }, - { - "flags": 4, - "matrix": [ - 2, - 5 - ], - "x": 99.7, - "y": 54.6 - }, - { - "flags": 4, - "matrix": [ - 3, - 5 - ], - "x": 103.3, - "y": 75.2 - }, - { - "flags": 4, - "matrix": [ - 3, - 4 - ], - "x": 90.9, - "y": 71.2 - }, - { - "flags": 4, - "matrix": [ - 3, - 3 - ], - "x": 78.6, - "y": 67.3 - }, - { - "flags": 4, - "matrix": [ - 3, - 2 - ], - "x": 66.3, - "y": 63.3 - }, - { - "flags": 4, - "matrix": [ - 3, - 1 - ], - "x": 53.3, - "y": 60.8 - }, - { - "flags": 4, - "matrix": [ - 3, - 0 - ], - "x": 32.8, - "y": 60.8 - }, - { - "flags": 4, - "matrix": [ - 4, - 0 - ], - "x": 28.1, - "y": 79.9 - }, - { - "flags": 4, - "matrix": [ - 4, - 1 - ], - "x": 47.0, - "y": 79.9 - }, - { - "flags": 4, - "matrix": [ - 4, - 3 - ], - "x": 80.6, - "y": 87.4 - }, - { - "flags": 4, - "matrix": [ - 4, - 5 - ], - "x": 100.6, - "y": 93.8 - }, - { - "flags": 4, - "matrix": [ - 4, - 7 - ], - "x": 140.2, - "y": 90.4 - }, - { - "flags": 4, - "matrix": [ - 4, - 10 - ], - "x": 166.4, - "y": 82.5 - }, - { - "flags": 4, - "matrix": [ - 4, - 12 - ], - "x": 195.7, - "y": 79.9 - }, - { - "flags": 4, - "matrix": [ - 4, - 13 - ], - "x": 211.4, - "y": 79.9 - }, - { - "flags": 4, - "matrix": [ - 4, - 14 - ], - "x": 224.0, - "y": 79.9 - }, - { - "flags": 4, - "matrix": [ - 4, - 15 - ], - "x": 236.6, - "y": 79.9 - }, - { - "flags": 4, - "matrix": [ - 3, - 14 - ], - "x": 224.0, - "y": 60.8 - }, - { - "flags": 4, - "matrix": [ - 3, - 13 - ], - "x": 206.7, - "y": 60.8 - }, - { - "flags": 4, - "matrix": [ - 3, - 12 - ], - "x": 189.4, - "y": 60.8 - }, - { - "flags": 4, - "matrix": [ - 3, - 11 - ], - "x": 176.8, - "y": 60.8 - }, - { - "flags": 4, - "matrix": [ - 3, - 10 - ], - "x": 163.7, - "y": 63.3 - }, - { - "flags": 4, - "matrix": [ - 3, - 9 - ], - "x": 151.4, - "y": 67.3 - }, - { - "flags": 4, - "matrix": [ - 3, - 8 - ], - "x": 139.1, - "y": 71.2 - }, - { - "flags": 4, - "matrix": [ - 3, - 7 - ], - "x": 126.8, - "y": 75.2 - }, - { - "flags": 4, - "matrix": [ - 2, - 7 - ], - "x": 130.3, - "y": 54.6 - }, - { - "flags": 4, - "matrix": [ - 2, - 8 - ], - "x": 142.6, - "y": 50.6 - }, - { - "flags": 4, - "matrix": [ - 2, - 9 - ], - "x": 155.0, - "y": 46.7 - }, - { - "flags": 4, - "matrix": [ - 2, - 10 - ], - "x": 167.3, - "y": 42.7 - }, - { - "flags": 4, - "matrix": [ - 2, - 11 - ], - "x": 180.4, - "y": 41.8 - }, - { - "flags": 4, - "matrix": [ - 2, - 12 - ], - "x": 193.0, - "y": 41.8 - }, - { - "flags": 4, - "matrix": [ - 2, - 13 - ], - "x": 213.4, - "y": 41.8 - }, - { - "flags": 4, - "matrix": [ - 2, - 15 - ], - "x": 236.6, - "y": 39.6 - }, - { - "flags": 4, - "matrix": [ - 1, - 15 - ], - "x": 235.3, - "y": 20.5 - }, - { - "flags": 4, - "matrix": [ - 1, - 14 - ], - "x": 217.4, - "y": 22.7 - }, - { - "flags": 4, - "matrix": [ - 1, - 13 - ], - "x": 201.6, - "y": 22.7 - }, - { - "flags": 4, - "matrix": [ - 1, - 12 - ], - "x": 189.0, - "y": 22.7 - }, - { - "flags": 4, - "matrix": [ - 1, - 11 - ], - "x": 176.4, - "y": 22.0 - }, - { - "flags": 4, - "matrix": [ - 1, - 10 - ], - "x": 163.4, - "y": 24.5 - }, - { - "flags": 4, - "matrix": [ - 1, - 9 - ], - "x": 151.1, - "y": 28.4 - }, - { - "flags": 4, - "matrix": [ - 1, - 8 - ], - "x": 138.7, - "y": 32.4 - }, - { - "flags": 4, - "matrix": [ - 1, - 7 - ], - "x": 126.4, - "y": 36.4 - }, - { - "flags": 4, - "matrix": [ - 0, - 7 - ], - "x": 128.1, - "y": 16.3 - }, - { - "flags": 4, - "matrix": [ - 0, - 8 - ], - "x": 140.5, - "y": 12.4 - }, - { - "flags": 4, - "matrix": [ - 0, - 9 - ], - "x": 152.8, - "y": 8.4 - }, - { - "flags": 4, - "matrix": [ - 0, - 10 - ], - "x": 165.1, - "y": 4.4 - }, - { - "flags": 4, - "matrix": [ - 0, - 11 - ], - "x": 178.2, - "y": 2.9 - }, - { - "flags": 4, - "matrix": [ - 0, - 12 - ], - "x": 190.8, - "y": 3.7 - }, - { - "flags": 4, - "matrix": [ - 0, - 14 - ], - "x": 209.7, - "y": 3.7 - }, - { - "flags": 4, - "matrix": [ - 0, - 15 - ], - "x": 233.9, - "y": 1.5 - } - ] - } + "manufacturer": "skeletonkbd", + "keyboard_name": "Frost68", + "maintainer": "skeletonkbd", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["GP21", "GP22", "GP23", "GP24", "GP25", "GP26", "GP28", "GP3", "GP4", "GP5", "GP6", "GP9", "GP10", "GP11", "GP12", "GP13"], + "rows": ["GP29", "GP27", "GP20", "GP19", "GP18"] + }, + "processor": "RP2040", + "rgb_matrix": { + "driver": "WS2812", + "hue_steps": 8, + "layout": [ + { "flags": 4, "matrix": [0, 0], "x": 33.1, "y": 3.7 }, + { "flags": 4, "matrix": [0, 1], "x": 45.7, "y": 3.7 }, + { "flags": 4, "matrix": [0, 2], "x": 58.3, "y": 2.4 }, + { "flags": 4, "matrix": [0, 3], "x": 71.1, "y": 6.4 }, + { "flags": 4, "matrix": [0, 4], "x": 83.4, "y": 10.4 }, + { "flags": 4, "matrix": [0, 5], "x": 95.7, "y": 14.3 }, + { "flags": 4, "matrix": [0, 6], "x": 108, "y": 18.3 }, + { "flags": 4, "matrix": [1, 5], "x": 99.3, "y": 35 }, + { "flags": 4, "matrix": [1, 4], "x": 86.9, "y": 31 }, + { "flags": 4, "matrix": [1, 3], "x": 74.6, "y": 27 }, + { "flags": 4, "matrix": [1, 2], "x": 62.3, "y": 23.1 }, + { "flags": 4, "matrix": [1, 1], "x": 49.2, "y": 22.7 }, + { "flags": 4, "matrix": [1, 0], "x": 33.5, "y": 22.7 }, + { "flags": 8, "matrix": [2, 0], "x": 32.3, "y": 41.8 }, + { "flags": 4, "matrix": [2, 1], "x": 49.7, "y": 41.8 }, + { "flags": 4, "matrix": [2, 2], "x": 62.7, "y": 42.7 }, + { "flags": 4, "matrix": [2, 3], "x": 75.1, "y": 46.7 }, + { "flags": 4, "matrix": [2, 4], "x": 87.4, "y": 50.6 }, + { "flags": 4, "matrix": [2, 5], "x": 99.7, "y": 54.6 }, + { "flags": 4, "matrix": [3, 5], "x": 103.3, "y": 75.2 }, + { "flags": 4, "matrix": [3, 4], "x": 90.9, "y": 71.2 }, + { "flags": 4, "matrix": [3, 3], "x": 78.6, "y": 67.3 }, + { "flags": 4, "matrix": [3, 2], "x": 66.3, "y": 63.3 }, + { "flags": 4, "matrix": [3, 1], "x": 53.3, "y": 60.8 }, + { "flags": 4, "matrix": [3, 0], "x": 32.8, "y": 60.8 }, + { "flags": 4, "matrix": [4, 0], "x": 28.1, "y": 79.9 }, + { "flags": 4, "matrix": [4, 1], "x": 47, "y": 79.9 }, + { "flags": 4, "matrix": [4, 3], "x": 80.6, "y": 87.4 }, + { "flags": 4, "matrix": [4, 5], "x": 100.6, "y": 93.8 }, + { "flags": 4, "matrix": [4, 7], "x": 140.2, "y": 90.4 }, + { "flags": 4, "matrix": [4, 10], "x": 166.4, "y": 82.5 }, + { "flags": 4, "matrix": [4, 12], "x": 195.7, "y": 79.9 }, + { "flags": 4, "matrix": [4, 13], "x": 211.4, "y": 79.9 }, + { "flags": 4, "matrix": [4, 14], "x": 224, "y": 79.9 }, + { "flags": 4, "matrix": [4, 15], "x": 236.6, "y": 79.9 }, + { "flags": 4, "matrix": [3, 14], "x": 224, "y": 60.8 }, + { "flags": 4, "matrix": [3, 13], "x": 206.7, "y": 60.8 }, + { "flags": 4, "matrix": [3, 12], "x": 189.4, "y": 60.8 }, + { "flags": 4, "matrix": [3, 11], "x": 176.8, "y": 60.8 }, + { "flags": 4, "matrix": [3, 10], "x": 163.7, "y": 63.3 }, + { "flags": 4, "matrix": [3, 9], "x": 151.4, "y": 67.3 }, + { "flags": 4, "matrix": [3, 8], "x": 139.1, "y": 71.2 }, + { "flags": 4, "matrix": [3, 7], "x": 126.8, "y": 75.2 }, + { "flags": 4, "matrix": [2, 7], "x": 130.3, "y": 54.6 }, + { "flags": 4, "matrix": [2, 8], "x": 142.6, "y": 50.6 }, + { "flags": 4, "matrix": [2, 9], "x": 155, "y": 46.7 }, + { "flags": 4, "matrix": [2, 10], "x": 167.3, "y": 42.7 }, + { "flags": 4, "matrix": [2, 11], "x": 180.4, "y": 41.8 }, + { "flags": 4, "matrix": [2, 12], "x": 193, "y": 41.8 }, + { "flags": 4, "matrix": [2, 13], "x": 213.4, "y": 41.8 }, + { "flags": 4, "matrix": [2, 15], "x": 236.6, "y": 39.6 }, + { "flags": 4, "matrix": [1, 15], "x": 235.3, "y": 20.5 }, + { "flags": 4, "matrix": [1, 14], "x": 217.4, "y": 22.7 }, + { "flags": 4, "matrix": [1, 13], "x": 201.6, "y": 22.7 }, + { "flags": 4, "matrix": [1, 12], "x": 189, "y": 22.7 }, + { "flags": 4, "matrix": [1, 11], "x": 176.4, "y": 22 }, + { "flags": 4, "matrix": [1, 10], "x": 163.4, "y": 24.5 }, + { "flags": 4, "matrix": [1, 9], "x": 151.1, "y": 28.4 }, + { "flags": 4, "matrix": [1, 8], "x": 138.7, "y": 32.4 }, + { "flags": 4, "matrix": [1, 7], "x": 126.4, "y": 36.4 }, + { "flags": 4, "matrix": [0, 7], "x": 128.1, "y": 16.3 }, + { "flags": 4, "matrix": [0, 8], "x": 140.5, "y": 12.4 }, + { "flags": 4, "matrix": [0, 9], "x": 152.8, "y": 8.4 }, + { "flags": 4, "matrix": [0, 10], "x": 165.1, "y": 4.4 }, + { "flags": 4, "matrix": [0, 11], "x": 178.2, "y": 2.9 }, + { "flags": 4, "matrix": [0, 12], "x": 190.8, "y": 3.7 }, + { "flags": 4, "matrix": [0, 14], "x": 209.7, "y": 3.7 }, + { "flags": 4, "matrix": [0, 15], "x": 233.9, "y": 1.5 } + ], + "max_brightness": 118, + "sat_steps": 8, + "speed_steps": 10, + "val_steps": 8 + }, + "url": "https://pid.codes/1209/68A0/", + "usb": { + "device_version": "1.0.0", + "pid": "0x68A0", + "vid": "0x1209" + }, + "layouts": { + "LAYOUT": { + "layout": [ + { "matrix": [0, 0], "x": 1.76, "y": 1 }, + { "matrix": [0, 1], "x": 2.76, "y": 1 }, + { "matrix": [0, 2], "x": 3.76, "y": 0.92 }, + { "matrix": [0, 3], "x": 4.9, "y": 6 }, + { "matrix": [0, 4], "x": 5.9, "y": 6 }, + { "matrix": [0, 5], "x": 6.9, "y": 6 }, + { "matrix": [0, 6], "x": 7.9, "y": 6 }, + { "matrix": [0, 7], "x": 8.35, "y": 14.6 }, + { "matrix": [0, 8], "x": 9.35, "y": 14.6 }, + { "matrix": [0, 9], "x": 10.35, "y": 14.6 }, + { "matrix": [0, 10], "x": 11.35, "y": 14.6 }, + { "matrix": [0, 11], "x": 13.18, "y": 1 }, + { "matrix": [0, 12], "x": 14.18, "y": 1 }, + { "matrix": [0, 13], "w": 2, "x": 15.18, "y": 1 }, + { "matrix": [0, 15], "x": 17.37, "y": 0.9 }, + { "matrix": [1, 0], "w": 1.5, "x": 1.535, "y": 2 }, + { "matrix": [1, 1], "x": 3.035, "y": 2 }, + { "matrix": [1, 2], "x": 4.4, "y": 7 }, + { "matrix": [1, 3], "x": 5.4, "y": 7 }, + { "matrix": [1, 4], "x": 6.4, "y": 7 }, + { "matrix": [1, 5], "x": 7.4, "y": 7 }, + { "matrix": [1, 7], "x": 7.85, "y": 15.6 }, + { "matrix": [1, 8], "x": 8.85, "y": 15.6 }, + { "matrix": [1, 9], "x": 9.85, "y": 15.6 }, + { "matrix": [1, 10], "x": 10.85, "y": 15.6 }, + { "matrix": [1, 11], "x": 12.98, "y": 2 }, + { "matrix": [1, 12], "x": 13.98, "y": 2 }, + { "matrix": [1, 13], "x": 14.98, "y": 2 }, + { "matrix": [1, 14], "w": 1.5, "x": 15.98, "y": 2 }, + { "matrix": [1, 15], "x": 17.57, "y": 1.9 }, + { "matrix": [2, 0], "w": 1.75, "x": 1.37, "y": 3 }, + { "matrix": [2, 1], "x": 3.12, "y": 3 }, + { "matrix": [2, 2], "x": 4.7, "y": 8 }, + { "matrix": [2, 3], "x": 5.7, "y": 8 }, + { "matrix": [2, 4], "x": 6.7, "y": 8 }, + { "matrix": [2, 5], "x": 7.7, "y": 8 }, + { "matrix": [2, 7], "x": 8, "y": 16.6 }, + { "matrix": [2, 8], "x": 9, "y": 16.6 }, + { "matrix": [2, 9], "x": 10, "y": 16.6 }, + { "matrix": [2, 10], "x": 11, "y": 16.6 }, + { "matrix": [2, 11], "x": 13.26, "y": 3 }, + { "matrix": [2, 12], "x": 14.26, "y": 3 }, + { "matrix": [2, 13], "w": 2.25, "x": 15.26, "y": 3 }, + { "matrix": [2, 15], "x": 17.77, "y": 2.9 }, + { "matrix": [3, 0], "w": 2.25, "x": 1.1, "y": 4 }, + { "matrix": [3, 1], "x": 3.35, "y": 4 }, + { "matrix": [3, 2], "x": 5.2, "y": 9 }, + { "matrix": [3, 3], "x": 6.2, "y": 9 }, + { "matrix": [3, 4], "x": 7.2, "y": 9 }, + { "matrix": [3, 5], "x": 8.2, "y": 9 }, + { "matrix": [3, 7], "x": 7.55, "y": 17.6 }, + { "matrix": [3, 8], "x": 8.55, "y": 17.6 }, + { "matrix": [3, 9], "x": 9.55, "y": 17.6 }, + { "matrix": [3, 10], "x": 10.55, "y": 17.6 }, + { "matrix": [3, 11], "x": 13.02, "y": 4 }, + { "matrix": [3, 12], "x": 14.02, "y": 4 }, + { "matrix": [3, 13], "w": 1.75, "x": 15.02, "y": 4 }, + { "matrix": [3, 14], "x": 16.77, "y": 4 }, + { "matrix": [4, 0], "w": 1.5, "x": 1.1, "y": 5 }, + { "matrix": [4, 1], "w": 1.5, "x": 2.6, "y": 5 }, + { "matrix": [4, 3], "w": 2.25, "x": 5.95, "y": 10 }, + { "matrix": [4, 5], "x": 8.2, "y": 10 }, + { "matrix": [4, 7], "w": 2.75, "x": 7.55, "y": 18.6 }, + { "matrix": [4, 10], "w": 1.5, "x": 10.3, "y": 18.65 }, + { "matrix": [4, 12], "w": 1.5, "x": 14.27, "y": 5 }, + { "matrix": [4, 13], "x": 15.77, "y": 5 }, + { "matrix": [4, 14], "x": 16.77, "y": 5 }, + { "matrix": [4, 15], "x": 17.77, "y": 5 } + ] + } + } } \ No newline at end of file From ea277cf78ade8f420b3ffdc67bcdda1b6218e64e Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Mon, 12 Jun 2023 23:44:04 +0900 Subject: [PATCH 28/36] change RGB_DI_PIN to WS2812_DI_PIN --- keyboards/skeletonkbd/frost68/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index 569445a8ae45..0ca911956eec 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -21,7 +21,7 @@ #define WS2812_PIO_USE_PIO1 -#define RGB_DI_PIN GP0 +#define WS2812_DI_PIN GP0 #define RGB_MATRIX_LED_COUNT 68 #define RGB_DISABLE_WHEN_USB_SUSPENDED From b5b8ff378ff80c21f250bf2f0a4114bc3041410c Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Tue, 13 Jun 2023 00:30:51 +0900 Subject: [PATCH 29/36] fix layout --- keyboards/skeletonkbd/frost68/info.json | 272 ++++++++++++------------ 1 file changed, 136 insertions(+), 136 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 5e1bf3611554..71b43743e247 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -22,74 +22,74 @@ "driver": "WS2812", "hue_steps": 8, "layout": [ - { "flags": 4, "matrix": [0, 0], "x": 33.1, "y": 3.7 }, - { "flags": 4, "matrix": [0, 1], "x": 45.7, "y": 3.7 }, - { "flags": 4, "matrix": [0, 2], "x": 58.3, "y": 2.4 }, - { "flags": 4, "matrix": [0, 3], "x": 71.1, "y": 6.4 }, - { "flags": 4, "matrix": [0, 4], "x": 83.4, "y": 10.4 }, - { "flags": 4, "matrix": [0, 5], "x": 95.7, "y": 14.3 }, - { "flags": 4, "matrix": [0, 6], "x": 108, "y": 18.3 }, - { "flags": 4, "matrix": [1, 5], "x": 99.3, "y": 35 }, - { "flags": 4, "matrix": [1, 4], "x": 86.9, "y": 31 }, - { "flags": 4, "matrix": [1, 3], "x": 74.6, "y": 27 }, - { "flags": 4, "matrix": [1, 2], "x": 62.3, "y": 23.1 }, - { "flags": 4, "matrix": [1, 1], "x": 49.2, "y": 22.7 }, - { "flags": 4, "matrix": [1, 0], "x": 33.5, "y": 22.7 }, - { "flags": 8, "matrix": [2, 0], "x": 32.3, "y": 41.8 }, - { "flags": 4, "matrix": [2, 1], "x": 49.7, "y": 41.8 }, - { "flags": 4, "matrix": [2, 2], "x": 62.7, "y": 42.7 }, - { "flags": 4, "matrix": [2, 3], "x": 75.1, "y": 46.7 }, - { "flags": 4, "matrix": [2, 4], "x": 87.4, "y": 50.6 }, - { "flags": 4, "matrix": [2, 5], "x": 99.7, "y": 54.6 }, - { "flags": 4, "matrix": [3, 5], "x": 103.3, "y": 75.2 }, - { "flags": 4, "matrix": [3, 4], "x": 90.9, "y": 71.2 }, - { "flags": 4, "matrix": [3, 3], "x": 78.6, "y": 67.3 }, - { "flags": 4, "matrix": [3, 2], "x": 66.3, "y": 63.3 }, - { "flags": 4, "matrix": [3, 1], "x": 53.3, "y": 60.8 }, - { "flags": 4, "matrix": [3, 0], "x": 32.8, "y": 60.8 }, - { "flags": 4, "matrix": [4, 0], "x": 28.1, "y": 79.9 }, - { "flags": 4, "matrix": [4, 1], "x": 47, "y": 79.9 }, - { "flags": 4, "matrix": [4, 3], "x": 80.6, "y": 87.4 }, - { "flags": 4, "matrix": [4, 5], "x": 100.6, "y": 93.8 }, - { "flags": 4, "matrix": [4, 7], "x": 140.2, "y": 90.4 }, - { "flags": 4, "matrix": [4, 10], "x": 166.4, "y": 82.5 }, - { "flags": 4, "matrix": [4, 12], "x": 195.7, "y": 79.9 }, - { "flags": 4, "matrix": [4, 13], "x": 211.4, "y": 79.9 }, - { "flags": 4, "matrix": [4, 14], "x": 224, "y": 79.9 }, - { "flags": 4, "matrix": [4, 15], "x": 236.6, "y": 79.9 }, - { "flags": 4, "matrix": [3, 14], "x": 224, "y": 60.8 }, - { "flags": 4, "matrix": [3, 13], "x": 206.7, "y": 60.8 }, - { "flags": 4, "matrix": [3, 12], "x": 189.4, "y": 60.8 }, - { "flags": 4, "matrix": [3, 11], "x": 176.8, "y": 60.8 }, - { "flags": 4, "matrix": [3, 10], "x": 163.7, "y": 63.3 }, - { "flags": 4, "matrix": [3, 9], "x": 151.4, "y": 67.3 }, - { "flags": 4, "matrix": [3, 8], "x": 139.1, "y": 71.2 }, - { "flags": 4, "matrix": [3, 7], "x": 126.8, "y": 75.2 }, - { "flags": 4, "matrix": [2, 7], "x": 130.3, "y": 54.6 }, - { "flags": 4, "matrix": [2, 8], "x": 142.6, "y": 50.6 }, - { "flags": 4, "matrix": [2, 9], "x": 155, "y": 46.7 }, - { "flags": 4, "matrix": [2, 10], "x": 167.3, "y": 42.7 }, - { "flags": 4, "matrix": [2, 11], "x": 180.4, "y": 41.8 }, - { "flags": 4, "matrix": [2, 12], "x": 193, "y": 41.8 }, - { "flags": 4, "matrix": [2, 13], "x": 213.4, "y": 41.8 }, - { "flags": 4, "matrix": [2, 15], "x": 236.6, "y": 39.6 }, - { "flags": 4, "matrix": [1, 15], "x": 235.3, "y": 20.5 }, - { "flags": 4, "matrix": [1, 14], "x": 217.4, "y": 22.7 }, - { "flags": 4, "matrix": [1, 13], "x": 201.6, "y": 22.7 }, - { "flags": 4, "matrix": [1, 12], "x": 189, "y": 22.7 }, - { "flags": 4, "matrix": [1, 11], "x": 176.4, "y": 22 }, - { "flags": 4, "matrix": [1, 10], "x": 163.4, "y": 24.5 }, - { "flags": 4, "matrix": [1, 9], "x": 151.1, "y": 28.4 }, - { "flags": 4, "matrix": [1, 8], "x": 138.7, "y": 32.4 }, - { "flags": 4, "matrix": [1, 7], "x": 126.4, "y": 36.4 }, - { "flags": 4, "matrix": [0, 7], "x": 128.1, "y": 16.3 }, - { "flags": 4, "matrix": [0, 8], "x": 140.5, "y": 12.4 }, - { "flags": 4, "matrix": [0, 9], "x": 152.8, "y": 8.4 }, - { "flags": 4, "matrix": [0, 10], "x": 165.1, "y": 4.4 }, - { "flags": 4, "matrix": [0, 11], "x": 178.2, "y": 2.9 }, - { "flags": 4, "matrix": [0, 12], "x": 190.8, "y": 3.7 }, - { "flags": 4, "matrix": [0, 14], "x": 209.7, "y": 3.7 }, - { "flags": 4, "matrix": [0, 15], "x": 233.9, "y": 1.5 } + {"matrix": [0, 0], "x": 33.1, "y": 3.7, "flags": 4}, + {"matrix": [0, 1], "x": 45.7, "y": 3.7, "flags": 4}, + {"matrix": [0, 2], "x": 58.3, "y": 2.4, "flags": 4}, + {"matrix": [0, 3], "x": 71.1, "y": 6.4, "flags": 4}, + {"matrix": [0, 4], "x": 83.4, "y": 10.4, "flags": 4}, + {"matrix": [0, 5], "x": 95.7, "y": 14.3, "flags": 4}, + {"matrix": [0, 6], "x": 108, "y": 18.3, "flags": 4}, + {"matrix": [1, 5], "x": 99.3, "y": 35, "flags": 4}, + {"matrix": [1, 4], "x": 86.9, "y": 31, "flags": 4}, + {"matrix": [1, 3], "x": 74.6, "y": 27, "flags": 4}, + {"matrix": [1, 2], "x": 62.3, "y": 23.1, "flags": 4}, + {"matrix": [1, 1], "x": 49.2, "y": 22.7, "flags": 4}, + {"matrix": [1, 0], "x": 33.5, "y": 22.7, "flags": 4}, + {"matrix": [2, 0], "x": 32.3, "y": 41.8, "flags": 8}, + {"matrix": [2, 1], "x": 49.7, "y": 41.8, "flags": 4}, + {"matrix": [2, 2], "x": 62.7, "y": 42.7, "flags": 4}, + {"matrix": [2, 3], "x": 75.1, "y": 46.7, "flags": 4}, + {"matrix": [2, 4], "x": 87.4, "y": 50.6, "flags": 4}, + {"matrix": [2, 5], "x": 99.7, "y": 54.6, "flags": 4}, + {"matrix": [3, 5], "x": 103.3, "y": 75.2, "flags": 4}, + {"matrix": [3, 4], "x": 90.9, "y": 71.2, "flags": 4}, + {"matrix": [3, 3], "x": 78.6, "y": 67.3, "flags": 4}, + {"matrix": [3, 2], "x": 66.3, "y": 63.3, "flags": 4}, + {"matrix": [3, 1], "x": 53.3, "y": 60.8, "flags": 4}, + {"matrix": [3, 0], "x": 32.8, "y": 60.8, "flags": 4}, + {"matrix": [4, 0], "x": 28.1, "y": 79.9, "flags": 4}, + {"matrix": [4, 1], "x": 47, "y": 79.9, "flags": 4}, + {"matrix": [4, 3], "x": 80.6, "y": 87.4, "flags": 4}, + {"matrix": [4, 5], "x": 100.6, "y": 93.8, "flags": 4}, + {"matrix": [4, 7], "x": 140.2, "y": 90.4, "flags": 4}, + {"matrix": [4, 10], "x": 166.4, "y": 82.5, "flags": 4}, + {"matrix": [4, 12], "x": 195.7, "y": 79.9, "flags": 4}, + {"matrix": [4, 13], "x": 211.4, "y": 79.9, "flags": 4}, + {"matrix": [4, 14], "x": 224, "y": 79.9, "flags": 4}, + {"matrix": [4, 15], "x": 236.6, "y": 79.9, "flags": 4}, + {"matrix": [3, 14], "x": 224, "y": 60.8, "flags": 4}, + {"matrix": [3, 13], "x": 206.7, "y": 60.8, "flags": 4}, + {"matrix": [3, 12], "x": 189.4, "y": 60.8, "flags": 4}, + {"matrix": [3, 11], "x": 176.8, "y": 60.8, "flags": 4}, + {"matrix": [3, 10], "x": 163.7, "y": 63.3, "flags": 4}, + {"matrix": [3, 9], "x": 151.4, "y": 67.3, "flags": 4}, + {"matrix": [3, 8], "x": 139.1, "y": 71.2, "flags": 4}, + {"matrix": [3, 7], "x": 126.8, "y": 75.2, "flags": 4}, + {"matrix": [2, 7], "x": 130.3, "y": 54.6, "flags": 4}, + {"matrix": [2, 8], "x": 142.6, "y": 50.6, "flags": 4}, + {"matrix": [2, 9], "x": 155, "y": 46.7, "flags": 4}, + {"matrix": [2, 10], "x": 167.3, "y": 42.7, "flags": 4}, + {"matrix": [2, 11], "x": 180.4, "y": 41.8, "flags": 4}, + {"matrix": [2, 12], "x": 193, "y": 41.8, "flags": 4}, + {"matrix": [2, 13], "x": 213.4, "y": 41.8, "flags": 4}, + {"matrix": [2, 15], "x": 236.6, "y": 39.6, "flags": 4}, + {"matrix": [1, 15], "x": 235.3, "y": 20.5, "flags": 4}, + {"matrix": [1, 14], "x": 217.4, "y": 22.7, "flags": 4}, + {"matrix": [1, 13], "x": 201.6, "y": 22.7, "flags": 4}, + {"matrix": [1, 12], "x": 189, "y": 22.7, "flags": 4}, + {"matrix": [1, 11], "x": 176.4, "y": 22, "flags": 4}, + {"matrix": [1, 10], "x": 163.4, "y": 24.5, "flags": 4}, + {"matrix": [1, 9], "x": 151.1, "y": 28.4, "flags": 4}, + {"matrix": [1, 8], "x": 138.7, "y": 32.4, "flags": 4}, + {"matrix": [1, 7], "x": 126.4, "y": 36.4, "flags": 4}, + {"matrix": [0, 7], "x": 128.1, "y": 16.3, "flags": 4}, + {"matrix": [0, 8], "x": 140.5, "y": 12.4, "flags": 4}, + {"matrix": [0, 9], "x": 152.8, "y": 8.4, "flags": 4}, + {"matrix": [0, 10], "x": 165.1, "y": 4.4, "flags": 4}, + {"matrix": [0, 11], "x": 178.2, "y": 2.9, "flags": 4}, + {"matrix": [0, 12], "x": 190.8, "y": 3.7, "flags": 4}, + {"matrix": [0, 14], "x": 209.7, "y": 3.7, "flags": 4}, + {"matrix": [0, 15], "x": 233.9, "y": 1.5, "flags": 4} ], "max_brightness": 118, "sat_steps": 8, @@ -105,74 +105,74 @@ "layouts": { "LAYOUT": { "layout": [ - { "matrix": [0, 0], "x": 1.76, "y": 1 }, - { "matrix": [0, 1], "x": 2.76, "y": 1 }, - { "matrix": [0, 2], "x": 3.76, "y": 0.92 }, - { "matrix": [0, 3], "x": 4.9, "y": 6 }, - { "matrix": [0, 4], "x": 5.9, "y": 6 }, - { "matrix": [0, 5], "x": 6.9, "y": 6 }, - { "matrix": [0, 6], "x": 7.9, "y": 6 }, - { "matrix": [0, 7], "x": 8.35, "y": 14.6 }, - { "matrix": [0, 8], "x": 9.35, "y": 14.6 }, - { "matrix": [0, 9], "x": 10.35, "y": 14.6 }, - { "matrix": [0, 10], "x": 11.35, "y": 14.6 }, - { "matrix": [0, 11], "x": 13.18, "y": 1 }, - { "matrix": [0, 12], "x": 14.18, "y": 1 }, - { "matrix": [0, 13], "w": 2, "x": 15.18, "y": 1 }, - { "matrix": [0, 15], "x": 17.37, "y": 0.9 }, - { "matrix": [1, 0], "w": 1.5, "x": 1.535, "y": 2 }, - { "matrix": [1, 1], "x": 3.035, "y": 2 }, - { "matrix": [1, 2], "x": 4.4, "y": 7 }, - { "matrix": [1, 3], "x": 5.4, "y": 7 }, - { "matrix": [1, 4], "x": 6.4, "y": 7 }, - { "matrix": [1, 5], "x": 7.4, "y": 7 }, - { "matrix": [1, 7], "x": 7.85, "y": 15.6 }, - { "matrix": [1, 8], "x": 8.85, "y": 15.6 }, - { "matrix": [1, 9], "x": 9.85, "y": 15.6 }, - { "matrix": [1, 10], "x": 10.85, "y": 15.6 }, - { "matrix": [1, 11], "x": 12.98, "y": 2 }, - { "matrix": [1, 12], "x": 13.98, "y": 2 }, - { "matrix": [1, 13], "x": 14.98, "y": 2 }, - { "matrix": [1, 14], "w": 1.5, "x": 15.98, "y": 2 }, - { "matrix": [1, 15], "x": 17.57, "y": 1.9 }, - { "matrix": [2, 0], "w": 1.75, "x": 1.37, "y": 3 }, - { "matrix": [2, 1], "x": 3.12, "y": 3 }, - { "matrix": [2, 2], "x": 4.7, "y": 8 }, - { "matrix": [2, 3], "x": 5.7, "y": 8 }, - { "matrix": [2, 4], "x": 6.7, "y": 8 }, - { "matrix": [2, 5], "x": 7.7, "y": 8 }, - { "matrix": [2, 7], "x": 8, "y": 16.6 }, - { "matrix": [2, 8], "x": 9, "y": 16.6 }, - { "matrix": [2, 9], "x": 10, "y": 16.6 }, - { "matrix": [2, 10], "x": 11, "y": 16.6 }, - { "matrix": [2, 11], "x": 13.26, "y": 3 }, - { "matrix": [2, 12], "x": 14.26, "y": 3 }, - { "matrix": [2, 13], "w": 2.25, "x": 15.26, "y": 3 }, - { "matrix": [2, 15], "x": 17.77, "y": 2.9 }, - { "matrix": [3, 0], "w": 2.25, "x": 1.1, "y": 4 }, - { "matrix": [3, 1], "x": 3.35, "y": 4 }, - { "matrix": [3, 2], "x": 5.2, "y": 9 }, - { "matrix": [3, 3], "x": 6.2, "y": 9 }, - { "matrix": [3, 4], "x": 7.2, "y": 9 }, - { "matrix": [3, 5], "x": 8.2, "y": 9 }, - { "matrix": [3, 7], "x": 7.55, "y": 17.6 }, - { "matrix": [3, 8], "x": 8.55, "y": 17.6 }, - { "matrix": [3, 9], "x": 9.55, "y": 17.6 }, - { "matrix": [3, 10], "x": 10.55, "y": 17.6 }, - { "matrix": [3, 11], "x": 13.02, "y": 4 }, - { "matrix": [3, 12], "x": 14.02, "y": 4 }, - { "matrix": [3, 13], "w": 1.75, "x": 15.02, "y": 4 }, - { "matrix": [3, 14], "x": 16.77, "y": 4 }, - { "matrix": [4, 0], "w": 1.5, "x": 1.1, "y": 5 }, - { "matrix": [4, 1], "w": 1.5, "x": 2.6, "y": 5 }, - { "matrix": [4, 3], "w": 2.25, "x": 5.95, "y": 10 }, - { "matrix": [4, 5], "x": 8.2, "y": 10 }, - { "matrix": [4, 7], "w": 2.75, "x": 7.55, "y": 18.6 }, - { "matrix": [4, 10], "w": 1.5, "x": 10.3, "y": 18.65 }, - { "matrix": [4, 12], "w": 1.5, "x": 14.27, "y": 5 }, - { "matrix": [4, 13], "x": 15.77, "y": 5 }, - { "matrix": [4, 14], "x": 16.77, "y": 5 }, - { "matrix": [4, 15], "x": 17.77, "y": 5 } + {"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": 9, "y": 0}, + {"matrix": [0, 8], "x": 10, "y": 0}, + {"matrix": [0, 9], "x": 11, "y": 0}, + {"matrix": [0, 10], "x": 12, "y": 0}, + {"matrix": [0, 11], "x": 13, "y": 0}, + {"matrix": [0, 12], "x": 14, "y": 0}, + {"matrix": [0, 13], "x": 15, "y": 0, "w": 2}, + {"matrix": [0, 15], "x": 17.25, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 7], "x": 8.5, "y": 1}, + {"matrix": [1, 8], "x": 9.5, "y": 1}, + {"matrix": [1, 9], "x": 10.5, "y": 1}, + {"matrix": [1, 10], "x": 11.5, "y": 1}, + {"matrix": [1, 11], "x": 12.5, "y": 1}, + {"matrix": [1, 12], "x": 13.5, "y": 1}, + {"matrix": [1, 13], "x": 14.5, "y": 1}, + {"matrix": [1, 14], "x": 15.5, "y": 1, "w": 1.5}, + {"matrix": [1, 15], "x": 17.25, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 7], "x": 8.75, "y": 2}, + {"matrix": [2, 8], "x": 9.75, "y": 2}, + {"matrix": [2, 9], "x": 10.75, "y": 2}, + {"matrix": [2, 10], "x": 11.75, "y": 2}, + {"matrix": [2, 11], "x": 12.75, "y": 2}, + {"matrix": [2, 12], "x": 13.75, "y": 2}, + {"matrix": [2, 13], "x": 14.75, "y": 2, "w": 2.25}, + {"matrix": [2, 15], "x": 17.25, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 1], "x": 2.25, "y": 3}, + {"matrix": [3, 2], "x": 3.25, "y": 3}, + {"matrix": [3, 3], "x": 4.25, "y": 3}, + {"matrix": [3, 4], "x": 5.25, "y": 3}, + {"matrix": [3, 5], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 8.25, "y": 3}, + {"matrix": [3, 8], "x": 9.25, "y": 3}, + {"matrix": [3, 9], "x": 10.25, "y": 3}, + {"matrix": [3, 10], "x": 11.25, "y": 3}, + {"matrix": [3, 11], "x": 12.25, "y": 3}, + {"matrix": [3, 12], "x": 13.25, "y": 3}, + {"matrix": [3, 13], "x": 14.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 16, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.5}, + {"matrix": [4, 3], "x": 4, "y": 4, "w": 2.25}, + {"matrix": [4, 5], "x": 6.25, "y": 4}, + {"matrix": [4, 7], "x": 8.25, "y": 4, "w": 2.75}, + {"matrix": [4, 10], "x": 11, "y": 4, "w": 1.5}, + {"matrix": [4, 12], "x": 13.5, "y": 4, "w": 1.5}, + {"matrix": [4, 13], "x": 15, "y": 4}, + {"matrix": [4, 14], "x": 16, "y": 4}, + {"matrix": [4, 15], "x": 17, "y": 4} ] } } From c4369f1f03ef89a5133ff926b64dbf3759b095c3 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Tue, 13 Jun 2023 00:40:46 +0900 Subject: [PATCH 30/36] fix url --- keyboards/skeletonkbd/frost68/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 71b43743e247..8b43d6fc356a 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -96,7 +96,7 @@ "speed_steps": 10, "val_steps": 8 }, - "url": "https://pid.codes/1209/68A0/", + "url": "https://skeletonkbd.com/", "usb": { "device_version": "1.0.0", "pid": "0x68A0", From 948daa71f8fd732077ccd2ab3f8f331a849880e4 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Tue, 13 Jun 2023 18:48:49 +0900 Subject: [PATCH 31/36] Update keyboards/skeletonkbd/frost68/info.json Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/skeletonkbd/frost68/info.json | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 8b43d6fc356a..0fe2851a191c 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -20,7 +20,6 @@ "processor": "RP2040", "rgb_matrix": { "driver": "WS2812", - "hue_steps": 8, "layout": [ {"matrix": [0, 0], "x": 33.1, "y": 3.7, "flags": 4}, {"matrix": [0, 1], "x": 45.7, "y": 3.7, "flags": 4}, From e5f2c769bca4bcf6ad71a1000a68c01967ad31ce Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Tue, 13 Jun 2023 18:50:11 +0900 Subject: [PATCH 32/36] Update keyboards/skeletonkbd/frost68/config.h Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/skeletonkbd/frost68/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index 0ca911956eec..9247493a564c 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -76,4 +76,4 @@ #define ENABLE_RGB_MATRIX_SOLID_SPLASH #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_UP_DOWN +#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_UP_DOWN From 34731f42f2f098c625ef08b1a675bff9a5e055db Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Tue, 13 Jun 2023 18:50:35 +0900 Subject: [PATCH 33/36] Update keyboards/skeletonkbd/frost68/config.h Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/skeletonkbd/frost68/config.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/config.h b/keyboards/skeletonkbd/frost68/config.h index 9247493a564c..eaf7a31fb6ef 100644 --- a/keyboards/skeletonkbd/frost68/config.h +++ b/keyboards/skeletonkbd/frost68/config.h @@ -3,25 +3,7 @@ #pragma once -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -// #define NO_DEBUG - -/* disable print */ -// #define NO_PRINT - -/* disable action features */ -// #define NO_ACTION_LAYER -// #define NO_ACTION_TAPPING -// #define NO_ACTION_ONESHOT - #define WS2812_PIO_USE_PIO1 - -#define WS2812_DI_PIN GP0 #define RGB_MATRIX_LED_COUNT 68 #define RGB_DISABLE_WHEN_USB_SUSPENDED From bca1ade9cfe8092b78548036cd7ce10a552c2d9e Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Tue, 13 Jun 2023 18:50:45 +0900 Subject: [PATCH 34/36] Update keyboards/skeletonkbd/frost68/rules.mk Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/skeletonkbd/frost68/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/skeletonkbd/frost68/rules.mk b/keyboards/skeletonkbd/frost68/rules.mk index 5b9d738128d2..13195723492d 100644 --- a/keyboards/skeletonkbd/frost68/rules.mk +++ b/keyboards/skeletonkbd/frost68/rules.mk @@ -1,2 +1 @@ -WS2812_DRIVER = vendor DEBOUNCE_TYPE = sym_eager_pk From ad73f661e74b1419fdc1a07dfbe2e912e8dcc687 Mon Sep 17 00:00:00 2001 From: skeletonkbd <90203406+skeletonkbd@users.noreply.github.com> Date: Tue, 13 Jun 2023 18:50:58 +0900 Subject: [PATCH 35/36] Update keyboards/skeletonkbd/frost68/info.json Co-authored-by: jack <0x6a73@protonmail.com> --- keyboards/skeletonkbd/frost68/info.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index 0fe2851a191c..d066bb874be1 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -18,6 +18,10 @@ "rows": ["GP29", "GP27", "GP20", "GP19", "GP18"] }, "processor": "RP2040", + "ws2812": { + "driver": "vendor", + "pin": "GP0" + }, "rgb_matrix": { "driver": "WS2812", "layout": [ From e3d9fb8f824fb825e405bb4810c413dfbc135679 Mon Sep 17 00:00:00 2001 From: skeletonkbd Date: Tue, 13 Jun 2023 19:44:08 +0900 Subject: [PATCH 36/36] modifier key led flags --- keyboards/skeletonkbd/frost68/info.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/keyboards/skeletonkbd/frost68/info.json b/keyboards/skeletonkbd/frost68/info.json index d066bb874be1..3099b26ecaa1 100644 --- a/keyboards/skeletonkbd/frost68/info.json +++ b/keyboards/skeletonkbd/frost68/info.json @@ -37,8 +37,8 @@ {"matrix": [1, 3], "x": 74.6, "y": 27, "flags": 4}, {"matrix": [1, 2], "x": 62.3, "y": 23.1, "flags": 4}, {"matrix": [1, 1], "x": 49.2, "y": 22.7, "flags": 4}, - {"matrix": [1, 0], "x": 33.5, "y": 22.7, "flags": 4}, - {"matrix": [2, 0], "x": 32.3, "y": 41.8, "flags": 8}, + {"matrix": [1, 0], "x": 33.5, "y": 22.7, "flags": 1}, + {"matrix": [2, 0], "x": 32.3, "y": 41.8, "flags": 1}, {"matrix": [2, 1], "x": 49.7, "y": 41.8, "flags": 4}, {"matrix": [2, 2], "x": 62.7, "y": 42.7, "flags": 4}, {"matrix": [2, 3], "x": 75.1, "y": 46.7, "flags": 4}, @@ -49,19 +49,19 @@ {"matrix": [3, 3], "x": 78.6, "y": 67.3, "flags": 4}, {"matrix": [3, 2], "x": 66.3, "y": 63.3, "flags": 4}, {"matrix": [3, 1], "x": 53.3, "y": 60.8, "flags": 4}, - {"matrix": [3, 0], "x": 32.8, "y": 60.8, "flags": 4}, - {"matrix": [4, 0], "x": 28.1, "y": 79.9, "flags": 4}, - {"matrix": [4, 1], "x": 47, "y": 79.9, "flags": 4}, + {"matrix": [3, 0], "x": 32.8, "y": 60.8, "flags": 1}, + {"matrix": [4, 0], "x": 28.1, "y": 79.9, "flags": 1}, + {"matrix": [4, 1], "x": 47, "y": 79.9, "flags": 1}, {"matrix": [4, 3], "x": 80.6, "y": 87.4, "flags": 4}, {"matrix": [4, 5], "x": 100.6, "y": 93.8, "flags": 4}, {"matrix": [4, 7], "x": 140.2, "y": 90.4, "flags": 4}, - {"matrix": [4, 10], "x": 166.4, "y": 82.5, "flags": 4}, - {"matrix": [4, 12], "x": 195.7, "y": 79.9, "flags": 4}, + {"matrix": [4, 10], "x": 166.4, "y": 82.5, "flags": 1}, + {"matrix": [4, 12], "x": 195.7, "y": 79.9, "flags": 1}, {"matrix": [4, 13], "x": 211.4, "y": 79.9, "flags": 4}, {"matrix": [4, 14], "x": 224, "y": 79.9, "flags": 4}, {"matrix": [4, 15], "x": 236.6, "y": 79.9, "flags": 4}, {"matrix": [3, 14], "x": 224, "y": 60.8, "flags": 4}, - {"matrix": [3, 13], "x": 206.7, "y": 60.8, "flags": 4}, + {"matrix": [3, 13], "x": 206.7, "y": 60.8, "flags": 1}, {"matrix": [3, 12], "x": 189.4, "y": 60.8, "flags": 4}, {"matrix": [3, 11], "x": 176.8, "y": 60.8, "flags": 4}, {"matrix": [3, 10], "x": 163.7, "y": 63.3, "flags": 4}, @@ -91,7 +91,7 @@ {"matrix": [0, 10], "x": 165.1, "y": 4.4, "flags": 4}, {"matrix": [0, 11], "x": 178.2, "y": 2.9, "flags": 4}, {"matrix": [0, 12], "x": 190.8, "y": 3.7, "flags": 4}, - {"matrix": [0, 14], "x": 209.7, "y": 3.7, "flags": 4}, + {"matrix": [0, 14], "x": 209.7, "y": 3.7, "flags": 1}, {"matrix": [0, 15], "x": 233.9, "y": 1.5, "flags": 4} ], "max_brightness": 118,