Commit Graph

534 Commits

Author SHA1 Message Date
Reibl János Dániel
7a3a57e457
Updates to handwired/riblee_f401 keymaps (#10376)
* Add new keymap with Hungarian accent support
Add flashing support

* Remove unnecessary mcu config

* Use bootmagic instead of custom macros
2020-09-22 11:39:07 -07:00
Spaceman
207f0b00fa
[Keyboard] add Handwired/Curiosity (#10369)
* Add curiosity

* Add default keymap

* Update config.h

* Apply suggestions from code review

* Update keyboards/handwired/curiosity/rules.mk

* Update keymap.c

* Apply suggestions from code review
2020-09-22 00:33:39 -07:00
Sergey Vlasov
7ddae97c89
Fix backlight for F401/F411 blackpill onekey examples (#10320)
Fix configs to make the `handwired/onekey/blackpill_f401:backlight` and
`handwired/onekey/blackpill_f411:backlight` examples actually compile
and work:

 - Use `PWMD5` instead of `PWMD2` for backlight, which matches the
   default value of `BACKLIGHT_PAL_MODE` (AF02 for pin A0 is `TIM5_CH1`)
   and does not conflict with the default value of `STM32_ST_USE_TIMER`.

 - Enable `HAL_USE_PWM` in halconf.h and `STM32_PWM_USE_TIM5` in
   mcuconf.h, so that `PWMD5` could be used.
2020-09-21 22:50:39 -07:00
Sergey Vlasov
fee953c4f8
Disable the command feature for onekeys (#10366)
There is no way to invoke the command feature while having just a single
physical key, and disabling that feature fixes build for keymaps like
`handwired/onekey/promicro:rgb` without resorting to LTO (the command
feature consumes more than 4900 bytes with avr-gcc 8.4.0).
2020-09-20 20:50:52 +01:00
Ryan
0140baf7e0
Add STM32F401/F411 to mcu_selection.mk (#10278)
* Reorder STM32 MCUs

* Add STM32F4xx to mcu_selection.mk

* Set MCU for phoenix and tkw/stoutgat/v2/f411
2020-09-18 20:00:18 -07:00
James Young
78d5224a1d
Remove HD44780 References, Part 3 (#10238)
* remove HD44780_ENABLE rules: G-H

* remove HD44780_ENABLE config: G-H
2020-09-07 22:28:18 -07:00
Brandon Claveria
d612d617ee
[Keyboard] add Pandamic handwired (#10227)
* Add pandemic keyboard

* Fix default keymap

* Add via keymap

* Fix via keymap

* Fix keymaps and pandamic.h

* add info.json

* update info.json

* Apply suggestions from code review

* Update keyboards/handwired/swiftrax/pandamic/info.json

* make suggested changes
2020-09-05 11:37:05 -07:00
QMK Bot
a3db72df72 format code according to conventions [skip ci] 2020-08-29 22:57:48 +00:00
Zach White
bdd8d2679b Allow joysticks to be used without analog pins (#10169)
* Allow joysticks to be used without analog pins

* change how analog/digital joysticks are specified
2020-08-29 14:30:02 -07:00
Drashna Jaelre
92385b3fb6 Better handle LTO_ENABLE (#9832)
* Better handle LTO_ENABLE

Especially when calling from command line

* Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE

* Remove long for LTO from show_options.mk
2020-08-29 14:30:02 -07:00
Ryan
9ef4526a2f Remove unused CORTEX_VTOR_INIT (#10053) 2020-08-29 14:30:02 -07:00
Ryan
12333b7c5e Fix joystick compile issues (#9949) 2020-08-29 14:30:02 -07:00
flehrad
200444f8d2 [Keyboard] relocating boards by flehrad (#9635)
Co-authored-by: flehrad <flehrad@users.noreply.github.com>
2020-08-29 14:30:02 -07:00
a-chol
d4be07dad3 Hid joystick interface (#4226)
* add support for hid gamepad interface
add documentation for HID joystick
Add joystick_task to read analog axes values even when no key is pressed or release. update doc
Update docs/feature_joystick.md
Manage pin setup and read to maintain matrix scan after analog read

* Incorporates patches and changes to HID reporting

There are some patches provided by @a-chol incorporated on this commit,
and also some changes I made to the HID Report structure.

The most interesting is the one dealing with number of buttons: Linux
doesn't seem to care, but Windows requires the HID structure to be byte
aligned (that's in the spec). So if one declares 8/16/32... buttons they
should not have any issues, but this is what happens when you have 9
buttons:

```
 bits |0|1|2|3|4|5|6|7|
      |*|*|*|*|*|*|*|*| axis 0 (report size 8)
      |*|*|*|*|*|*|*|*| ...
      |*|*|*|*|*|*|*|*|
      |*|*|*|*|*|*|*|*|
      |*|*|*|*|*|*|*|*|
      |*|*|*|*|*|*|*|*|
      |*|*|*|*|*|*|*|*| axis 6
      |*|*|*|*|*|*|*|*| first 8 buttons (report size 1)
      |*| | | | | | | | last of 9 buttons, not aligned
```

So for that I added a conditonal that will add a number of reports with
size 1 to make sure it aligns to the next multiple of 8. Those reports
send dummy inputs that don't do anything aside from aligning the data.

Tested on Linux, Windows 10 and Street Fighter (where the joystick is
recognized as direct-input)

* Add save and restore of each pin used in reading joystick (AVR).
Allow output pin to be JS_VIRTUAL_AXIS if the axis is connected to Vcc
instead of an output pin from the MCU.

Fix joystick report id

Fix broken v-usb hid joystick interface. Make it more resilient to unusual settings (none multiple of eight button count, 0 buttons or 0 axes)

Correct adc reading for multiple axes. Piecewise range conversion for uncentered raw value range. Input, output and ground pin configuration per axis.

Documentation fixes

* Fix port addressing for joystick analog read

* The other required set of changes
As per the PR, the changes still holding it up.
Add onekey for testing.
Fix ARM builds.
Fix device descriptor when either axes or buttons is zero.
Add compile-time check for at least one axis or button.
Move definition to try to fix conflict.
PR review comments.
qmk cformat

* avoid float functions to compute range mapping for axis adc reading

* Remove V-USB support for now. Updated docs accordingly.

* Update tmk_core/protocol/lufa/lufa.c

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update tmk_core/protocol/usb_descriptor.c

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update tmk_core/protocol/usb_descriptor.c

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update tmk_core/protocol/usb_descriptor.c

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Add support for joystick adc reading for stm32 MCUs. Fix joystick hid report sending for chibios

* Fix HID joystick report sending for ChibiOS.
Add one analog axis to the onekey:joystick keymap.
Fix pin state save and restore during joystick analog read for STM32
MCUs.

* Update tmk_core/protocol/chibios/usb_main.c

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update tmk_core/protocol/lufa/lufa.c

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Add missing mcuconf.h and halconf.h to onekey:joystick keymap.
Add suggested fixes from PR.

* Switch saveState and restoreState signature to use pin_t type.
onekey:joystick : add a second axis, virtual and programmatically animated.

* Update docs/feature_joystick.md

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update docs/feature_joystick.md

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Add PR corrections

* Remove halconf.h and mcuconf.h from onekey keymaps

* Change ADC_PIN to A0

Co-authored-by: achol <allecooll@hotmail.com>
Co-authored-by: José Júnior <jose.junior@gmail.com>
Co-authored-by: a-chol <achol@notamail.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-08-29 14:30:02 -07:00
Ryan
8a4a0c25fd Change analogRead calls to analogReadPin (#9023)
* Change analogRead calls to analogReadPin

* Add ChangeLog

* Update docs, remove mention of `analogRead()`

* Retarget changelog for next round
2020-08-29 14:30:02 -07:00
Nick Brassel
385d49cc39 Initial work for consolidation of ChibiOS platform files (#8327)
* Initial work for consolidation of board files and default ChibiOS configs.

* Migrate F401/F411 black pills for testing.

* Add early init bootloader jump flag.

* Add support for I2C in order to use i2c_scanner keymap.

* Add F401/F411 HSE bypass to get things booting.

* Exempt "hooked" ChibiOS conf files from updater script.

* Fix up ordering for bootloader_defs file check.

* Match previous $(KEYBOARD_PATHS) value for Proton-C, updated for all board configs.
2020-08-29 14:30:02 -07:00
Evgenii
c9eaf1ac2b
update info.json file for handwired/zergo (#10117)
* Rename keyboards/handwired/zergo/keymap.c to keyboards/handwired/zergo/keymaps/default/keymap.c

* Update rules.mk

* Update rules.mk

* Update bootloader.mk

* Update rules.mk

* Update bootloader.mk

* Update info.json

* Update rules.mk

* Update zergo.h

* Update info.json

* Update keymap.c

* Update keyboards/handwired/zergo/info.json

* Update keyboards/handwired/zergo/keymaps/default/keymap.c
2020-08-26 12:36:23 -07:00
Fidel Coria
bad662b830
[Keyboard] Handwired pteron38 (#10035)
* setup handwired pteron38

* Clean up readme

* readme follow template

* c formatting conventions

* remove  file size comments from rules.mk

* use direct link to imgur image

* Apply suggestions from code review

* add license
2020-08-26 01:12:19 -07:00
Pierre Chevalier
80d92525db
Upstream a good default keymap for the Ferris handwired (#9926)
* Proper default keymap

* Update keyboards/handwired/ferris/keymaps/default/readme.md
2020-08-24 14:56:48 -07:00
myoung34
e02f4798f9
[Keyboard] Pterodactyl handwired (#9884)
* Working bluetooth fork of dactyl

* Refactor thanks to zvecr

* Final refactor per PR comments

* Pragma once

* Update keyboards/handwired/pterodactyl/pterodactyl.h

* Update keyboards/handwired/pterodactyl/readme.md

* Update keyboards/handwired/pterodactyl/rules.mk

* Update keyboards/handwired/pterodactyl/rules.mk

* Update keyboards/handwired/pterodactyl/config.h

* Update keyboards/handwired/pterodactyl/pterodactyl.h

* Update keyboards/handwired/pterodactyl/config.h

* Update keyboards/handwired/pterodactyl/pterodactyl.h

* update readme

* Update keyboards/handwired/pterodactyl/keymaps/default/keymap.c

* Update keyboards/handwired/pterodactyl/info.json

* Update keyboards/handwired/pterodactyl/readme.md

* Update keyboards/handwired/pterodactyl/config.h

* Update keyboards/handwired/pterodactyl/info.json

* Update keyboards/handwired/pterodactyl/keymaps/default/keymap.c

* Update keyboards/handwired/pterodactyl/keymaps/default/keymap.c

* Update keyboards/handwired/pterodactyl/keymaps/default/keymap.c

* Update keyboards/handwired/pterodactyl/keymaps/default/keymap.c

* Update keyboards/handwired/pterodactyl/pterodactyl.h

* Update keyboards/handwired/pterodactyl/keymaps/default/keymap.c

* Update keyboards/handwired/pterodactyl/matrix.c

* Fix/add formatting and info/keymap.json

* Update keyboards/handwired/pterodactyl/keymaps/default/keymap.json

* lint default/keymap.json

* format info.json
2020-08-22 12:59:24 -07:00
Evgenii
4f4c6e04d9
Rename keyboards/handwired/zergo/keymap.c to keyboards/handwired/zergo/keymaps/default/keymap.c (#10094) 2020-08-19 12:00:36 -07:00
Evgenii
f99f46773e
[Keyboard] zErgo handwired (#9990)
* Create readme.md

* Add files via upload

* Update readme.md

* Create info.json

* Update info.json

* Update and rename kb.c to zergo.c

* Rename kb.h to zergo.h

* Add files via upload

* Update keymap.c

* Update config.h

* Update zergo.c

* Update zergo.h

* Update rules.mk

* Update keymap.c

* Rename Makefile to makefile

* Update zergo.c

* Update zergo.h

* Update keymap.c

* Update config.h

* Update config.h

* Update zergo.h

* Update rules.mk

* Update rules.mk

* Update config.h

* Update keyboards/handwired/zergo/keymap.c

* Update keyboards/handwired/zergo/keymap.c

* Update keyboards/handwired/zergo/zergo.h

* Update keyboards/handwired/zergo/keymap.c

* Update keyboards/handwired/zergo/keymap.c

* Update keyboards/handwired/zergo/rules.mk

* Update keyboards/handwired/zergo/keymap.c

* Update readme.md

* Update readme.md

* Update keyboards/handwired/zergo/readme.md

* Update readme.md

* Update keyboards/handwired/zergo/config.h

* Update keyboards/handwired/zergo/config.h

* Update keyboards/handwired/zergo/info.json

* Update readme.md

* Update keyboards/handwired/zergo/readme.md

* Update keyboards/handwired/zergo/readme.md

* Delete makefile
2020-08-18 14:24:50 -07:00
Blake
66de3308e5
[Keyboard] Bento handwired macro pad (#9973)
* [Keyboard] Add ghostseven/bento

* Correct attribution, Dwin17

* Formatting change

* Markdown formating

* Update keyboards/ghostseven/bento/info.json

* Update keyboards/ghostseven/bento/readme.md

* Update keyboards/ghostseven/bento/rev1/config.h

* Update keyboards/ghostseven/bento/rev1/rules.mk

* Update keyboards/ghostseven/bento/rev1/rules.mk

* Update keyboards/ghostseven/bento/rev1/rules.mk

* Update keyboards/ghostseven/bento/rev1/rules.mk

* Update keyboards/ghostseven/bento/rev1/config.h

* Update keyboards/ghostseven/bento/rev1/rev1.c

* Update keyboards/ghostseven/bento/rev1/rev1.c

* Update keyboards/ghostseven/bento/rev1/config.h

* Update keyboards/ghostseven/bento/rev1/rules.mk

* Update keyboards/ghostseven/bento/readme.md

* Delete config.h

* Delete config.h

* Update rules.mk

* Rename keyboards/ghostseven/bento/readme.md to keyboards/handwired/bento/readme.md

* Rename keyboards/ghostseven/bento/rules.mk to keyboards/handwired/bento/rules.mk

* Rename keyboards/ghostseven/bento/info.json to keyboards/handwired/bento/info.json

* Rename keyboards/ghostseven/bento/bento.h to keyboards/handwired/bento/bento.h

* Rename keyboards/ghostseven/bento/bento.c to keyboards/handwired/bento/bento.c

* Rename keyboards/ghostseven/bento/rev1/rules.mk to keyboards/handwired/bento/rev1/rules.mk

* Rename keyboards/ghostseven/bento/rev1/rev1.h to keyboards/handwired/bento/rev1/rev1.h

* Rename keyboards/ghostseven/bento/rev1/rev1.c to keyboards/handwired/bento/rev1/rev1.c

* Rename keyboards/ghostseven/bento/rev1/config.h to keyboards/handwired/bento/rev1/config.h

* Rename keyboards/ghostseven/bento/keymaps/default/keymap.c to keyboards/handwired/bento/keymaps/default/keymap.c

* Update bento.h

* Change make location to handwired dir.

* added alt keymap submited by cbc02009

* Added mac dev keymap

* Licence updates
2020-08-18 13:45:33 -07:00
Rossman360
e071206c58
[Keyboard] Wabi handwire (#9704)
* cleaning up

* got some working bones

* working pretty well

* really livin' now

* all done

* copyright adjustments

* default keymap

* readme

* no descrip

* remove trailing slashes

* remove blank line

* remove trailing slashes

* clean up readme

* clean up rules spacing

* bootloader spacing

* made quick json from KLE converter

* remove postageboard mini references

* add actual manu and product values

* add make example

* rework

* remove double bootload define

* smoller image

* liscensed

* correct dimensions

* dimensions
2020-08-16 18:33:20 -07:00
Ryan
48bd8263a3
Fix sendstring call in onekey ADC keymap (#10031) 2020-08-17 08:10:48 +10:00
Brandon Claveria
f1299f3292
fix handwired/swiftrax/cowfish PID and VID (#9922)
Co-authored-by: Swiftrax <swiftrax@gmail.com>
2020-08-13 00:08:41 +10:00
David Camp
78fef0a46a
[Keyboard] Add "Selene" to the handwired section (#9920)
* Added handwired/selene based on handwired/106_with_trackpoint

* now at least parially working

* Selene Firmware 1, ready

* Updated Readme to align more with Template

* Added URL to info.json

* Fix status Lights being wired incorrectly

* Update keyboards/handwired/selene/config.h

* Update keyboards/handwired/selene/keymaps/Bpendragon/keymap.c

* Update keyboards/handwired/selene/selene.c

* Update keyboards/handwired/selene/selene.h

* Changes for PR requested by fauxpark

* Adds `default` keymap
* Renames `Bpendragon` to `bpendragon`
* Removes uneeded descriptors and options
* Simplifies return statement in `keymap.c`
* Removes trailing slashes from layout in `keymap.c`
* Updates `readme.mk` to reflect default keymap
* Aligns comments in `rules.mk`

* Forced folder name update to lowercase

* Apply suggestions from code review
2020-08-07 13:31:22 -07:00
Jan Christoph Ebersbach
7d2cfadb55
handwired/dactyl_manuform/5x6_5: fix broken keyboard and keymap reference (#9921) 2020-08-07 04:40:41 -07:00
Reibl János Dániel
671d066c84
[Keyboard] Add handwired 12*5 blackpill keyboard (#9855)
* Add new handwired keyboard with F401 blackpill

* Re-indent

* Add README.md

* Apply suggestions from code review

* Re-indent

* Add README.md

* Apply suggestions from code review

* Fix spacing

* Modify keymap
Add license header
2020-08-06 15:30:16 -07:00
James Young
12fce9b88d
fix Dactyl-Manuform 5x6_5 compilation (#9902) 2020-08-03 00:43:27 +01:00
Kyle
f3b518ae40
[Keyboard] Added a new handwired 2x3,2x4,2x5 keyboard called the Stream_cheap (#9871)
* Added a new handwired 2x3,2x4,2x5 keyboard called the Stream_cheap

stream cheap is a diy version of the El Gato Stream deck minus the LCD keys
but you can always get relegendable keycaps to change the icon if you want

* added missing commas in info.json files

* update config to change pin definition

* changed keymap.c for 2x4

was trying to add macros and multi key commands to the keymap,

i added 2 ctrl commands that have more than one key i.e. ctrl-k-c (visual studio comment hot key)

and i added a test string to see how type out a string with the press of a button

* testing more changes to the keymap to the 2x5

* Update keyboards/handwired/stream_cheap/2x3/2x3.c

* Update keyboards/handwired/stream_cheap/2x3/config.h

* Update keyboards/handwired/stream_cheap/2x3/rules.mk

* Update keyboards/handwired/stream_cheap/2x5/config.h

* Update keyboards/handwired/stream_cheap/2x5/info.json

* Update keyboards/handwired/stream_cheap/2x3/config.h

* Update keyboards/handwired/stream_cheap/2x3/info.json

* Update keyboards/handwired/stream_cheap/2x4/config.h

* Update keyboards/handwired/stream_cheap/2x4/info.json

* Update keyboards/handwired/stream_cheap/2x4/keymaps/default/keymap.c

* Update keyboards/handwired/stream_cheap/2x5/info.json

* Update keyboards/handwired/stream_cheap/2x5/config.h

* Update keyboards/handwired/stream_cheap/2x5/rules.mk

* Update keyboards/handwired/stream_cheap/2x4/2x4.c

* Update keyboards/handwired/stream_cheap/2x4/config.h

* Update keyboards/handwired/stream_cheap/2x4/info.json

* Update keyboards/handwired/stream_cheap/2x5/2x5.c

* Update keyboards/handwired/stream_cheap/2x4/rules.mk

* removed file as per request of user zvecr

* removed line in rules.mk for 2x5

* Update keyboards/handwired/stream_cheap/2x5/keymaps/default/keymap.c

* Apply suggestions from code review

changes suggested in code review
2020-07-31 16:18:06 -07:00
Jan Christoph Ebersbach
1a49eb5be1
[Keyboard] Add Dactyl Manuform 5x6 with 5 thumb keys (#9659)
* [Keyboard] Add Dactyl Manuform 5x6 with 5 thumb keys

* fix: remove unused code block

* fix: remove unused code block

* Remove unused build options
2020-07-31 13:03:44 -07:00
Klesh Wong
5d0c38794f
[Keyboard] Add new keyboard ks63 handwired (#9712)
* [feature] add ks63 split keyboard

* [bugfix] unable to compile and some rows are not working

* [feature] add info.json / update keymap

* [bugfix] keymap and fix slave not working issue

* [bugfix] keyboard unaviable on cold boot / unable to reset the board

* [misc] fine tune keymap

* [misc] fine tune keymap

* ...

* ...

* ...

* [misc] adjust brackets position

* [misc] add readme link

* [misc] comply to coding convention

* [misc] add default keymap readme file

* Update keyboards/handwired/ks63/README.md

* Update keyboards/handwired/ks63/ks63.h

* Update keyboards/handwired/ks63/keymaps/default/keymap.c

* Update keyboards/handwired/ks63/keymaps/default/keymap.c

* Update keyboards/handwired/ks63/keymaps/default/keymap.c

* Update keyboards/handwired/ks63/keymaps/default/keymap.c

* Update keyboards/handwired/ks63/keymaps/default/keymap.c

* Update keyboards/handwired/ks63/keymaps/default/keymap.c

* Update keyboards/handwired/ks63/rules.mk

* Update keyboards/handwired/ks63/README.md

* Update keyboards/handwired/ks63/keymaps/default/keymap.c

* [misc] to lowercase filename

* Update keyboards/handwired/ks63/rules.mk

* Update keyboards/handwired/ks63/rules.mk

* Update keyboards/handwired/ks63/config.h
2020-07-30 11:08:17 -07:00
Dmitry Nosachev
dfa3017c92
[Keyboard] Add keyboard Zenith Z-150 (#9811)
* z150 black pill

* z150 docs

* z150: json layout

* Update keyboards/handwired/z150/keymaps/zyxx/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/z150/rules.mk

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/z150/rules.mk

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/z150/z150.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/z150/config.h

Co-authored-by: Joel Challis <git@zvecr.com>

* Delete bootloader_defs.h

Useless file

* Update keyboards/handwired/z150/readme.md

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Joel Challis <git@zvecr.com>
2020-07-26 22:44:50 +01:00
Joel Challis
d91987ab9a
Enable OLED support for Teensy 3.2/LC (#7591)
* I2C_TIMEOUT is not defined on arm teensy

* Work round teensy having different ChibiOS config options

* Stash OLED conf files

* update comment

* update comment

* Remove stm32 alias to allow teensy alt mode
2020-07-26 07:50:56 +10:00
RJ Bernau
db540e2832
Adding VIA support for Dactyl Manuform 5x7 (#9462)
* adding via support for Dactyl Manuform 5x7

* Changing Vendor ID from FEED to 444D (DM)

* Update keyboards/handwired/dactyl_manuform/4x6/config.h

Fixing typo in Dactyl Manuform 4x6 Product Id

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/dactyl_manuform/4x5/config.h

Fixing typo in Dactyl Manuform 4x5 Product Id

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Roland Bernau <roland@bernau.dev>
Co-authored-by: Joel Challis <git@zvecr.com>
2020-07-25 22:36:39 +01:00
Sergey Vlasov
74d3223fb5
Update handwired/onekey/teensy_2pp readme (#9784)
In commit 297aad6ebd pins for handwired/onekey/teensy_2pp were changed
from B2/B1 to F4/F5; update readme.md to match that change.
2020-07-22 15:49:01 +10:00
Nico Cesar
2e08c72e95
Update onekey proton_c readme (#9758)
A3 won't work. The code says A1 and A2 and it works. prints out an "a"
2020-07-20 15:41:21 +01:00
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
Brandon Claveria
63fe92017c
[keyboard] added swiftrax/cowfish (#9621)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Swiftrax <swiftrax@gmail.com>
2020-07-11 12:28:22 +01:00
ajp10304
c5e255a417
Create ajp10304 userspace and ortho_4x12 layout. (#9304) 2020-07-09 20:18:51 +01:00
boss566y
047a7f4e33
[Keyboard] Added Handwired Redragon Keyboard (#9590)
* Added Handwired Redragon Keyboard as well as default and via keymaps

* Update keyboards/handwired/boss566y/redragon_vara/info.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/keymaps/default/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/keymaps/default/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/keymaps/via/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/keymaps/via/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/keymaps/via/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/redragon_vara.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/redragon_vara.h

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/rules.mk

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/keymaps/default/keymap.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/handwired/boss566y/redragon_vara/info.json

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

* Update keyboards/handwired/boss566y/redragon_vara/rules.mk

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

* Update keymap.c

Removed defined keycodes from via keymap

* Update keymap.c

replaced defined keycodes in default keymap

* Update readme.md

Changed image to one that matches the physical keyboard

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-07-08 06:33:43 -07:00
Ryan
24f59c2d72
Add more missing info.json layouts (#9595) 2020-06-30 17:53:24 +01:00
Herpiko Dwi Aguno
6d6340a82b
[Keyboard] Add UNK keyboard. (#9571)
* Add UNK keyboard.

* Update keyboards/handwired/unk/info.json

* Use KC_NO to block out nonexistent matrix positions.

* Update keyboards/handwired/unk/readme.md

* Update keyboards/handwired/unk/keymaps/default/keymap.c
2020-06-29 16:32:59 -07:00
James Smith
d36d5ecfad
Klackygears add user and handwired brain (#9154)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2020-06-28 12:07:57 +01:00
jotix
c8b35b6230
Jotanck (#9531)
* add_adjust_layer

* add_adjust_layer
2020-06-24 23:08:24 -07:00
James Young
d8e3294aea
[Keyboard] Fix Configurator layout data for handwired/1800fl (#9393) 2020-06-15 03:10:15 -07:00
Ryan
44d93285d1
Change ?= to = in keyboard rules.mk (#9390) 2020-06-15 03:06:10 -07:00
Ryan
407d6a2b67
[Keyboard] Fix error_log complaint about handwired/onekey layout macro (#9263) 2020-06-07 22:49:18 -07:00
Derek
b327d20402
[Keyboard] add Juliet (#9240)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Derek <sevinty7@gmail.com>
2020-06-05 02:13:31 -07:00