This repository has been archived on 2025-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
.github
.vscode
api_data
bin
data
docs
drivers
keyboards
0_sixty
0xcb
10bleoledhub
1upkeyboards
2key2crawl
30wer
3w6
40percentclub
45_ats
4by3
4pplet
6ball
7c8
7skb
7splus
8pack
9key
abacus
absinthe
abstract
acekeyboard
acheron
acr60
adelheid
adkb96
aeboards
afternoonlabs
ai03
ajisai74
akb
akegata_denki
al1
aleblazer
aleth42
alf
alfredslab
allison
allison_numpad
alpha
alpine65
alps64
alu84
amag23
amj40
amj60
amj96
amjkeyboard
amjpad
anavi
angel17
angel64
anomalykb
aos
aozora
aplyard
arabica37
arch_36
ares
arisu
arrayperipherals
ash1800
ash_xiix
ashpil
at101_bh
at_at
atomic
atreus
atreus62
atxkb
aves65
axolstudio
baguette
bakeneko60
bakeneko65
bakeneko80
bantam44
barleycorn
barleycorn_smd
barracuda
basekeys
basketweave
bastardkb
scylla
skeletyl
tbk
tbkmini
keymaps
config.h
info.json
readme.md
rules.mk
tbkmini.c
tbkmini.h
bat43
bear_face
beatervan
bemeier
bfake
bigseries
binepad
bioi
blackplum
blank_tehnologii
blockey
boardrun
boardsource
boardwalk
bop
boston
boston_meetup
botanicalkeyboards
box75
bpiphany
bt66tech
bthlabs
buildakb
business_card
butterstick
c39
caffeinated
cannonkeys
capsunlocked
carbo65
cassette42
catch22
centromere
cest73
charue
chavdai40
checkerboards
cherrybstudio
cheshire
chidori
chili
chimera_ergo
chimera_ls
chimera_ortho
chimera_ortho_plus
chlx
choc_taro
choco60
christmas_tree
ck60i
ckeys
claw44
clawsome
clueboard
cmm_studio
coarse
cocoa40
comet46
compound
contra
converter
cool836a
copenhagen_click
coseyfannitutti
cozykeys
craftwalk
crawlpad
crazy_keyboard_68
crbn
crin
crkbd
cu24
cu75
cu80
custommk
cutie_club
cx60
cybergear
daji
db
dc01
dekunukem
delikeeb
delilah
deltasplit75
dichotomy
dinofizz
diverge3
divergetm2
dk60
dm9records
dmqdesign
do60
donutcables
doodboard
doppelganger
doro67
dozen0
dp60
draculad
draytronics
dubba175
duck
ducky
dumbo
dumbpad
durgod
dz60
dztech
e88
ealdin
earth_rover
ebastler
eco
edc40
edda
edi
eek
efreet
eggman
emajesty
emi20
emptystring
eniigmakeyboards
ep
epoch80
ergo42
ergoarrows
ergodash
ergodox_ez
ergodox_infinity
ergodox_stm32
ergosaurus
ergoslab
ergotaco
ergotravel
ericrlau
esca
espectro
eve
evil80
evolv
evyd13
exclusive
exent
eyeohdesigns
ez_maker
facew
fallacy
fc660c
fc980c
feels
felix
ferris
ffkeebs
fjlabs
flehrad
fleuron
fluorite
flx
flxlb
flygone60
foostan
for_science
forever65
fortitude60
four_banger
foxlab
fr4
fractal
freyr
friedrich
frooastboard
ft
function96
funky40
gami_studio
gboards
geekboards
geminate60
generic_panda
genone
georgi
gergo
getta25
ggkeyboards
gh60
gh80_3000
ghs
gingham
gkeyboard
gmmk
gon
gorthage_truck
gowla
gray_studio
grid600
gskt00
gvalchca
h0oni
hadron
halberd
halfcliff
hand88
handwired
hardlineworks
hecomi
heliar
helix
hhkb
hhkb_lite_2
hid_liber
hidtech
hifumi
hineybush
holyswitch
honeycomb
hotdox
hp69
hs60
hub16
hub20
ianklug
id67
id80
id87
idb
idobo
illuminati
illusion
ilumkb
inett_studio
infinity60
irene
iriskeyboards
iron180
ivy
j80
jacky_studio
jae
jagdpietr
jc65
jd40
jd45
jian
jiran
jisplit89
jkdlab
jm60
jnao
jones
just60
k_type
kabedon
kagamidget
kb_elmo
kbdclack
kbdfans
kc60
kc60se
keebio
keebsforall
keebwerk
keebzdotnet
kelowna
keybage
keyboardio
keycapsss
keychron
keyhive
keyprez
keysofkings
kikoslab
kindakeyboards
kinesis
kineticlabs
kingly_keys
kira75
kira80
kiwikeebs
kiwikey
kmac
kmac_pad
kmini
knobgoblin
knops
kona_classic
kopibeng
kprepublic
ktec
kudox
kudox_game
kv
kwub
ky01
labyrinth75
laptreus
latin17rgb
latin47ble
latin60rgb
latin64ble
latin6rgb
latinpad
latinpadble
lattice60
launchpad
lazydesigners
lck75
le_chiffre
leafcutterlabs
leeku
lets_split
lets_split_eh
lfkeyboards
lily58
linworks
littlealby
lizard_trick
lm_keyboard
longnald
ls_60
lucid
m10a
m3n3van
m65
majistic
makrosu
manta60
manyboard
marksard
massdrop
masterworks
matchstickworks
matrix
maxipad
maxr1998
mb44
mc_76k
mechkeys
mechllama
mechlovin
mechmini
mechstudio
mechwild
mehkee96
meira
meishi
meishi2
melgeek
melody96
meme
merge
mesa
meson
metamechs
mexsistor
miller
millipad
mini_elixivy
miniaxe
minidox
minim
minimacro5
mint60
mio
misonoworks
misterknife
mitosis
miuni32
mixi
mnk1800s
mnk50
mode
model_v
molecule
momoka_ergo
monarch
monstargear
montex
montsinger
moon
moonlander
mountainblocks
mschwingen
mt40
mt64rgb
mt84
mt980
murcielago
mxss
mysticworks
nack
nafuda
naiping
naked48
naked60
naked64
namecard2x4
navi10
ncc1701kb
nebula12
nebula68
neito
nek_type_a
nemui
neokeys
neopad
neson_design
newgame40
nibiria
nightingale_studios
nightly_boards
nightmare
nimrod
niu_mini
nix_studio
nk1
nk65
nk87
nknl7en
nknl7jp
nomu30
nopunin10did
novelpad
noxary
np12
nullbitsco
numatreus
ocean
oddball
oddforge
odelia
ogre
ogurec
ok60
omnikey_bh
omnikeyish
opendeck
opus
orange75
org60
ortho5by12
orthocode
orthodox
otaku_split
owl8
owlab
pabile
paladin64
palette1202
panc40
panc60
pandora
pdxkbc
pearl
pearlboards
peej
peranekofactory
percent
phantom
phase_studio
phoenix
pico
picolab
pimentoso
pinky
pisces
pistachio
pistachio_mp
pistachio_pro
pizzakeyboards
pkb65
planck
playkbtw
plexus75
ploopyco
plume
plut0nium
plx
pohjolaworks
poker87c
poker87d
polilla
polycarbdiet
pom_keyboards
portal_66
pos78
preonic
primekb
program_yoink
projectcain
projectkb
prototypist
pteron36
puck
punk75
pursuit40
q4z
qaz
quad_h
quantrik
quark
qvex
qwertyydox
rabbit
rabbit_capture_plan
rainkeeb
ramonimbao
rart
rect44
redox
redox_w
redscarf_i
redscarf_iiplus
retro_75
reversestudio
reviung33
reviung34
reviung39
reviung41
reviung5
reviung61
rgbkb
ristretto
rocketboard_16
rominronin
roseslite
rotr
rpiguy9907
rubi
runes
runner3680
ryanbaekr
ryloo_studio
sam
sanctified
satt
sawnsprojects
scarletbandana
scatter42
sck
scythe
seigaiha
sekigon
sendyyeah
senselessclay
sentraq
sergiopoverony
setta21
shambles
shiro
shk9
sidderskb
signum
silverbullet44
singa
sirius
sixkeyboard
skeletn87
skergo
slz40
smallice
smk60
snampad
sneakbox
sofle
soup10
southpole
sowbug
soy20
space_space
spaceman
spacetime
spacey
sparrow62
specskeys
spiderisland
splitish
splitkb
splitreus62
splitty
squiggle
standaside
steal_this_keyboard
stella
stratos
studiokestra
subatomic
suihankey
swiftrax
switchplate
sx60
tada68
takashicompany
taleguers
tanuki
tau4
team0110
technika
telophase
tempo_turtle
tender
tenki
terrazzo
tetris
tg4x
tgr
the_royal
the_ruler
the_uni
thedogkeyboard
themadnoodle
thevankeyboards
tiger910
tkc
tkw
tmo50
toad
tokyokeyboard
torn
touchpad
tr60w
trashman
treadstone32
treadstone48
treasure
tronguylabs
tszaboo
tunks
tw40
txuu
ua62
uk78
undead60m
underscore33
ungodly
unikorn
unison
uno
uranuma
ut472
utd80
uzu42
v4n4g0rth0n
v60_type_r
vagrant_10
viktus
vitamins_included
vn66
waldo
wallaby
walletburner
wekey
westfoxtrot
whale
wheatfield
whitefox
wilba_tech
wings42
winkeyless
wolfmarkclub
work_louder
wsk
wuque
x16
xbows
xelus
xiaomi
xiudi
xmmx
xw60
yampad
yasui
yatara
yd60mq
yd68
yeehaw
ymd75
ymd96
ymdk
ymdk_np21
yncognito
yoichiro
yosino58
yugo_m
yurei
yushakobo
yynmt
z150_bh
zfrontier
zinc
zj68
zlant
zoo
ztboards
zvecr
readme.md
layouts
lib
platforms
quantum
tests
tmk_core
users
util
.clang-format
.editorconfig
.gitattributes
.gitignore
.gitmodules
Dockerfile
Doxyfile
LICENSE
Makefile
Vagrantfile
book.json
bootloader.mk
build_full_test.mk
build_json.mk
build_keyboard.mk
build_layout.mk
build_test.mk
common.mk
common_features.mk
disable_features.mk
doxygen-todo
license_GPLv2.md
license_GPLv3.md
license_Modified_BSD.md
message.mk
nose2.cfg
readme.md
requirements-dev.txt
requirements.txt
setup.cfg
shell.nix
show_options.mk
testlist.mk
qmk_firmware/keyboards/bastardkb/tbkmini/config.h

59 lines
1.7 KiB
C

/*
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
#define VENDOR_ID 0xA8F8
#define PRODUCT_ID 0x1828
#define DEVICE_VER 0x0001
#define MANUFACTURER Bastard Keyboards
#define PRODUCT TBK Mini
#define MATRIX_ROWS 8
#define MATRIX_COLS 6
#define RGBLIGHT_LIMIT_VAL 180
#define MATRIX_ROW_PINS { B5, F7, F6, B6 }
#define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
#define DIODE_DIRECTION ROW2COL
#define RGB_DI_PIN D2
#define RGBLED_NUM 42
#define RGBLED_SPLIT { 21, 21 }
#define RGBLIGHT_ANIMATIONS
#define DEBOUNCE 5
#define SOFT_SERIAL_PIN D0
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
#define F_SCL 400000L
#define USB_POLLING_INTERVAL_MS 1
#define MASTER_RIGHT
// RGB matrix support
#ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR
# define DRIVER_LED_TOTAL 42 // Number of LEDs
# define RGB_MATRIX_SPLIT { 21, 21 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# define RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_MATRIX_KEYPRESSES
#endif