Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial beta firmware for the Rocketboard-16 macro/num pad #10688

Merged
merged 23 commits into from
Nov 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
614abb1
Firmware initial commit, still has a few bugs - mainly rotary encoder…
fl3tching101 Oct 15, 2020
c2427fc
Fixed the volume control issue and limited the RGB brightness (can be…
fl3tching101 Oct 16, 2020
dc7deb4
Merge remote-tracking branch 'upstream/master'
fl3tching101 Oct 18, 2020
cb04127
Remove define that should go in config.h
fl3tching101 Oct 19, 2020
7866555
Removed define that should be in config.h
fl3tching101 Oct 19, 2020
0836cd1
Removed LTO_ENABLE as suggested - has issues on ARM
fl3tching101 Oct 19, 2020
a721a57
Added the correct define for OLED screen size
fl3tching101 Oct 19, 2020
bd0d381
Applied suggested change to remove description
fl3tching101 Oct 19, 2020
f728ea5
Made suggested change to remove backslashes
fl3tching101 Oct 19, 2020
5442148
Suggested change made to rgblight
fl3tching101 Oct 19, 2020
ab46ad7
Suggested change made to rgblight
fl3tching101 Oct 19, 2020
567f7bb
Suggested change made to remove backslashes
fl3tching101 Oct 19, 2020
439eb03
Suggested change made to rgblight
fl3tching101 Oct 19, 2020
a7d8c68
Update keyboards/rocketboard_16/rocketboard_16.c
fl3tching101 Oct 19, 2020
80e197a
Added suggested comments
fl3tching101 Oct 19, 2020
dc8f174
Made suggested changes to rules file
fl3tching101 Oct 19, 2020
271c131
Added suggested change to rgblight
fl3tching101 Oct 19, 2020
aa699af
Added info.json for QMK configurator
fl3tching101 Oct 19, 2020
38aaac2
Update readme.md
fl3tching101 Oct 19, 2020
a9b65d6
This change makes the firmware work... through magic... seriously, no…
fl3tching101 Oct 20, 2020
992aec4
Updated dimming step, OLED functionality, and rules for formatting
fl3tching101 Oct 20, 2020
c055344
Fixed tab issues
fl3tching101 Oct 21, 2020
d2526ea
Updated to use bootmagic lite with the key that usually turns rgb on/off
fl3tching101 Oct 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
714 changes: 714 additions & 0 deletions keyboards/rocketboard_16/chconf.h

Large diffs are not rendered by default.

83 changes: 83 additions & 0 deletions keyboards/rocketboard_16/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/*
Copyright 2020 Seth Bonner <fl3tching101@gmail.com>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

/* USB Device descriptor parameter */
#define VENDOR_ID 0xB034
#define PRODUCT_ID 0xFF16
#define DEVICE_VER 0x0001
#define MANUFACTURER Rocketboard
#define PRODUCT Rocketboard-16

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

#define MATRIX_ROW_PINS { A9, B13, B14, B15, B3 }
#define MATRIX_COL_PINS { B8, B9, B10, B11 }
#define DIODE_DIRECTION COL2ROW

/* Bootmagic key - row 4, col 1 */
#define BOOTMAGIC_LITE_ROW 4
#define BOOTMAGIC_LITE_COLUMN 1

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

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5

#define RGBLIGHT_ANIMATIONS
#define RGB_DI_PIN A4
#define RGBLED_NUM 16
#define RGBLIGHT_LIMIT_VAL 128
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_SLEEP

// OLED stuff
#define OLED_DISPLAY_128X64

// Allows for rotary encoder volume control
#define TAP_CODE_DELAY 20

/* Encoder stuff */
#define ENCODERS_PAD_A \
{ A0, A2 }
#define ENCODERS_PAD_B \
{ A1, A3 }

#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE

/*
* 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 NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
Loading