[Keyboard] FLX Lodestone (#8451)
* Add Lodestone PCB Working Firmware for Lodestone PCB tested on physical PCB prototypes. * Update keyboards/flx/lodestone/lodestone.c * Update keyboards/flx/lodestone/keymaps/default/config.h * Update keyboards/flx/lodestone/rules.mk * Update keyboards/flx/lodestone/readme.md * Delete config.h * Update keyboards/flx/lodestone/info.json Suggested by noroadsleft * Update keyboards/flx/lodestone/info.json * Update keyboards/flx/lodestone/info.json Changed maintainer name as suggested. * Update keyboards/flx/lodestone/keymaps/default/readme.md * Update keyboards/flx/lodestone/info.json * Update keyboards/flx/lodestone/rules.mk Changed Link_Time_Optimization to LTO didn't know this was a thing :) * Update keyboards/flx/lodestone/keymaps/default/keymap.c Removed 2 unessisary layers from the default map. * Update keyboards/flx/lodestone/readme.md * Update keyboards/flx/lodestone/info.json * Changed from LAYOUT to LAYOUT_all AS suggested by noroadsleft, changed 4 files to match, and re-testeed on my hardware to confirm working. * Update keyboards/flx/lodestone/config.h Cleaned up Manu, Product and Descriptor as suggested. * Update keyboards/flx/lodestone/readme.md
This commit is contained in:
parent
0b810bdff3
commit
13d736d6ab
11 changed files with 314 additions and 0 deletions
70
keyboards/flx/lodestone/config.h
Normal file
70
keyboards/flx/lodestone/config.h
Normal file
|
@ -0,0 +1,70 @@
|
|||
/* Copyright 2020 Shaun Mitchell (Flex)
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x4658 //FX
|
||||
#define PRODUCT_ID 0x4C53 //LS
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER FLX
|
||||
#define PRODUCT Lodestone
|
||||
#define DESCRIPTION FLX Lodestone
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 16
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { B3, B7, F0, F1, F4 }
|
||||
#define MATRIX_COL_PINS { B2, F5, F6, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// #define BACKLIGHT_PIN B7
|
||||
// #define BACKLIGHT_BREATHING
|
||||
// #define BACKLIGHT_LEVELS 3
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* number of backlight levels */
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
|
||||
* This is userful for the Windows task manager shortcut (ctrl+shift+esc).
|
||||
*/
|
||||
// #define GRAVE_ESC_CTRL_OVERRIDE
|
Loading…
Add table
Add a link
Reference in a new issue