keychron_qmk_firmware/keyboards/handwired
Pierre Chevalier a8c230743a
Write firmware for the Ferris keyboard (#9634)
* Write firmware for the Ferris keyboard

Took inspiration from the gergoplex and the ergodox_ez firmware for the
split matrix with io_expander on the right hand.
Cleaned up a lot of bit fiddling on the mcu side by taking inspiration
from the `split_custom` in quantum.
Still bit fiddling on the mcp side as it is particularly natural to do
so with the abstractions provided by the i2c protocol. Would be good to
clean that up and abstract away the wiring from the generic i2c code in
a similar fashion as quantum and the mcp side behave.

One improvement over the ergodox_ez and the gergoplex firmwares is that
the wiring is straight forward as opposed to swapping rows and columns
in two different places that end up cancelling out for some reason.

At this stage, I have flashed this firmware to a board and have verified
that all keys are behaving as intended by shorting pins.
I still have to solder in some switches and test that everything works
correctly at normal typing speeds, but I don't expect any major issues
given I'm building up on previous effort, including the debouncing code
from the ergodox_ez.

* Remove rotation from info.json and label the keys as per default keymap

* Comply with minor review feedback points

* Use CUSTOM_MATRIX=lite to remove boilerplate

* Update keyboards/handwired/ferris/info.json

Didn't play nicely in the configurator

Co-authored-by: Ryan <fauxpark@gmail.com>

* Remove MIDI_ENABLE from rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* Remove FAUXCLICKY_ENABLE from rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* Prefer wait_ms over _delay_ms

Co-authored-by: Ryan <fauxpark@gmail.com>

* Remove unused include

Co-authored-by: Ryan <fauxpark@gmail.com>

* Remove unused include

Co-authored-by: Ryan <fauxpark@gmail.com>

* Remove unused include

Co-authored-by: Ryan <fauxpark@gmail.com>

* Remove unused includeh

Co-authored-by: Ryan <fauxpark@gmail.com>

* Use dprint over print and remove include for print.h

* Remove all unused includes

* Remove unused code

* Cleanups thanks to code review

* Move more personal settings from the ferris config to the default keymap config

These setting happen to be unused in the default keymap at the moment,
as it has only one layer with no homerow modifiers and no mouse key; but
I would like to keep it there for two reasons:
* It can serve as an example to people creating their own keymap
* I plan to design a more usable default keymap that uses these features
  once this PR which adds the Ferris keyboard is merged.

* Consolidate mcp logic inside matrix.c

Co-authored-by: Ryan <fauxpark@gmail.com>
2020-07-18 13:57:33 +10:00
..
2x5keypad
6macro
42 Remove all references to "CUSTOM_MATRIX" as a diode direction (#7937) 2020-01-19 23:05:51 -08:00
108key_trackpoint
412_64
aek64 BACKLIGHT_ON_STATE config.h fixes (#8862) 2020-04-30 16:24:13 +10:00
aplx2 [Keyboard] Aplx2 osu! keyboard (#8847) 2020-04-27 10:25:51 -07:00
aranck [Keyboard] Aranck handwired keyboard to support community MIT layouts, also minor optimisations done (#7737) 2020-01-01 09:44:22 -08:00
arrow_pad
atreus50 Create ajp10304 userspace and ortho_4x12 layout. (#9304) 2020-07-09 20:18:51 +01:00
bdn9_ble BACKLIGHT_ON_STATE config.h fixes (#8862) 2020-04-30 16:24:13 +10:00
bluepill Set MCU for some F103 boards (#8459) 2020-03-19 01:33:17 +00:00
boss566y/redragon_vara [Keyboard] Added Handwired Redragon Keyboard (#9590) 2020-07-08 06:33:43 -07:00
brain Klackygears add user and handwired brain (#9154) 2020-06-28 12:07:57 +01:00
cans12er
chiron
ck4x4 Enable memcore to fix malloc/rand crashes (#8695) 2020-04-05 22:15:40 +01:00
cmd60
co60 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
colorlice
d48 [Keyboard] Added D48 keyboard (#8548) 2020-05-08 23:59:50 -07:00
dactyl
dactyl_left Clean up some remaining rules.mk bootloader stuff (#8165) 2020-02-16 11:45:42 -08:00
dactyl_manuform Add naked60 layout, clean up my userspace files and rules.mk. (#8848) 2020-04-20 11:00:14 +01:00
dactyl_promicro Enforce definition of DIODE_DIRECTION for non-custom matrix boards (#7915) 2020-01-19 14:11:57 +11:00
daishi Convert two handwired default keymaps to Dynamic Macro feature (#8166) 2020-02-13 22:20:18 -08:00
datahand
ddg_56 [Keyboard] Add DGG-56 Handwired (#8740) 2020-04-18 17:20:42 -07:00
downbubble
eagleii [Keyboard] Addition Eagle II keyboard (#7927) 2020-01-19 18:07:30 -08:00
fc200rt_qmk Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773) 2020-04-19 23:56:48 +01:00
ferris Write firmware for the Ferris keyboard (#9634) 2020-07-18 13:57:33 +10:00
fivethirteen
floorboard Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773) 2020-04-19 23:56:48 +01:00
frenchdev
fruity60 Fix capitalisation of "GitHub" (#9184) 2020-05-25 19:43:14 -07:00
gamenum
hacked_motospeed Enforce definition of DIODE_DIRECTION for non-custom matrix boards (#7915) 2020-01-19 14:11:57 +11:00
heisenberg Heisenberg handwired keyboard added (#7643) 2019-12-18 09:41:41 +11:00
hexon38
hnah40 Remove DEBUG_LEVEL from V-USB rules.mk (#9117) 2020-05-17 21:37:04 +01:00
hnah40rgb
hnah108
ibm122m
jn68m
jopr
jot50
jotanck Jotanck (#9531) 2020-06-24 23:08:24 -07:00
jotpad16 [Keyboard] jotpad16 status leds (#8643) 2020-04-12 10:25:09 -07:00
jtallbean Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773) 2020-04-19 23:56:48 +01:00
juliet [Keyboard] add Juliet (#9240) 2020-06-05 02:13:31 -07:00
k8split [Keyboard] handwired/k8split (#9133) 2020-05-21 16:37:09 -07:00
k_numpad17 Add more missing info.json layouts (#9595) 2020-06-30 17:53:24 +01:00
kbod
lovelive9 Add more missing info.json layouts (#9595) 2020-06-30 17:53:24 +01:00
maartenwut
magicforce61 Change ?= to = in keyboard rules.mk (#9390) 2020-06-15 03:06:10 -07:00
magicforce68
mechboards_micropad Fix capitalisation of "GitHub" (#9184) 2020-05-25 19:43:14 -07:00
minorca Clean up some remaining rules.mk bootloader stuff (#8165) 2020-02-16 11:45:42 -08:00
ms_sculpt_mobile 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
myskeeb Fix 'does not have a readme.md' warnings (#9294) 2020-06-04 02:07:37 -07:00
nicekey Enforce definition of DIODE_DIRECTION for non-custom matrix boards (#7915) 2020-01-19 14:11:57 +11:00
not_so_minidox Change ?= to = in keyboard rules.mk (#9390) 2020-06-15 03:06:10 -07:00
novem Fix handwired/novem Configurator config (#9291) 2020-06-04 01:57:37 -07:00
numbrero
numpad20
obuwunkunubi/spaget [Keyboard] obuwunkunubi/spaget handwired (#8738) 2020-04-09 12:45:08 -07:00
onekey Change ?= to = in keyboard rules.mk (#9390) 2020-06-15 03:06:10 -07:00
ortho5x13
owlet60 Clean up includes for glcdfont headers (#7745) 2020-03-01 17:56:50 +11:00
p65rgb [Keyboard] Add p65rgb PCB (#7753) 2020-01-02 08:57:47 -08:00
p1800fl [Keyboard] Fix Configurator layout data for handwired/1800fl (#9393) 2020-06-15 03:10:15 -07:00
pilcrow
postageboard
prime_exl Fix incorrect key sizes in Configurator (#9073) 2020-05-13 20:00:37 +01:00
prime_exl_plus [Keyboard] Add Prime_EXL Plus to handwired (#8238) 2020-02-25 13:21:59 -08:00
prkl30 [Keymap] Add Erkhal keymap to PRKL30 (#8355) 2020-03-11 16:06:47 -07:00
promethium Fix a couple of USB VIDs for the API (#7848) 2020-01-09 23:50:55 -08:00
pteron
qc60
reddot
retro_refit
rs60
sick68 fix sick68 space key handwiring location (#8962) 2020-04-29 00:45:51 +01:00
slash Miscellaneous stuff: remove clang-complete and autocomplete.sh, fix some rules.mk comments (#8784) 2020-04-15 02:03:49 -07:00
space_oddity Convert two handwired default keymaps to Dynamic Macro feature (#8166) 2020-02-13 22:20:18 -08:00
splittest Move splittest I2C (#8346) 2020-03-09 15:36:40 +11:00
steamvan 2020 February 29 Breaking Changes Update (#8064) 2020-02-29 11:59:30 -08:00
sticc14
swiftrax/cowfish [keyboard] added swiftrax/cowfish (#9621) 2020-07-11 12:28:22 +01:00
symmetry60
tennie Remove all references to "CUSTOM_MATRIX" as a diode direction (#7937) 2020-01-19 23:05:51 -08:00
terminus_mini
trackpoint
tradestation
traveller
tritium_numpad
twadlee/tp69 [Keyboard] handwired/twadlee/tp69 (#9013) 2020-05-18 01:52:55 -07:00
unk [Keyboard] Add UNK keyboard. (#9571) 2020-06-29 16:32:59 -07:00
videowriter Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773) 2020-04-19 23:56:48 +01:00
woodpad Change ?= to = in keyboard rules.mk (#9390) 2020-06-15 03:06:10 -07:00
wulkan Enforce definition of DIODE_DIRECTION for non-custom matrix boards (#7915) 2020-01-19 14:11:57 +11:00
xealous
xealousbrown Update to xealousbrown. (#8215) 2020-04-21 00:41:15 -07:00