Commit Graph

13137 Commits (8b7b3cedaf40e92452282b784c714daf93184f13)
 

Author SHA1 Message Date
David Kosorin 8b7b3cedaf
Fix Czech keycodes (#9987) 5 years ago
Ryan 6bd3bf2bdd
Fix joystick compile issues (#9949) 5 years ago
Tynan Beatty c4d3b24436
Noeeprom functions for rgb_matrix (#9487)
* Add eeprom_helpers for toggle, mode, sethsv, speed; add set_speed; add noeeprom versions of toggle, step, hue, sat, val, and speed

* qmk cformat rgb_matrix

* Add rgb_matrix_set_speed and *_noeeprom functions

* Do not expose rgb_matrix_*_eeprom_helper functions
5 years ago
Nick Brassel 7de0f1771e
Add support for hsv->rgb conversion without using CIE curve. (#9856)
* Add support for hsv->rgb conversion without using CIE curve.

* Modify anavi/macropad8 to disable unicode (was unused), otherwise firmware size is too large.
5 years ago
flehrad 80ff2ba8a0
[Keyboard] relocating boards by flehrad (#9635)
Co-authored-by: flehrad <flehrad@users.noreply.github.com>
5 years ago
TerryMathews 5484b63bf1
The Key Company project consolidation (#9547)
* Consolidate TKC projects and increase VIA keymap count to 4.

* Updated readme files.

* Removed config.h via limitation of 2 dynamic keymaps

* Reduce dynamic keymaps from 4 to 3 due to EEPROM space limitations.

* Update dynamic_keymap.c

* Restore 4 dynamic keymaps for VIA in TKC projects.

* Update quantum/dynamic_keymap.c
5 years ago
Drashna Jaelre d189a57d2d
Initialize Layer State on startup (#8318)
* Initialize Layer State on startup

Right now, on startup, the default layer state gets called and set, triggering the callback functions for the default layer state. However, the normal layer state never actually gets initialized.  It's set to 0 directly, by default, but the callback functions are never actually called.  This creates some inconsistency in the behavior for end users.  This adds a simple "clear" that triggers the callback on startup.  This should produce more consisten behavior between the two functions and layer masks.

* Stupid hack

* Fix type casting?

* Fix compile issues with magic is disabled
5 years ago
Max Rumpf f9267ec27f
Tweak the Christmas animation effect to be less harsh on the eyes (#7648)
* Tweak the Christmas animation effect to be less harsh on the eyes

* Further improve the tweaked Christmas animation code

- Use constants where it makes sense
- Instead of complicated math, use a static variable to keep track if it's animating from or to red
- Don't use pow (but a simple macro instead)
- Using floating point math is necessary for the fraction in the cubic bezier function to work

* Update docs for the tweaked Christmas animation effect

* Further improve memory usage

- Don't use floats, but 32 bit ints instead (where needed)
- Replace limits.h with constant

* Fix typo
5 years ago
a-chol ace17e48b2
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>
5 years ago
Drashna Jaelre fca5b6f556
Update features to use Custom Tapping Term when appropriate (#6259)
* Update Space Cadet to use Custom Tapping Term functionality

* Detect correct keycode for space cadet tapping term

* Update tap dancing to use global custom tapping term

* Update documentation for Tap Dances

* formatting pass

* Apply suggestions from code review

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

* Update docs/feature_tap_dance.md

Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>

* Update for future

* Update user keymaps for space cadet

* Fix typos

* Clean up tapping term stuff

* Fix compiler issue if NO_ACTION_TAPPING is enabled

Co-authored-by: fauxpark <fauxpark@gmail.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
5 years ago
Drashna Jaelre de57f336bb
Disable NKRO on V-USB controllers (#9054)
* Disable NKRO on V-USB controllers

* not _currently_ supported text

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

Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
Nick Brassel 83fc2499b6
Re-fix the STM32 dual-bank bootloader stuff. (#9738)
* Re-fix the dual-bank bootloader stuff.

* Use wait_ms() instead of using nop's for a delay, as ChibiOS is actually running at the time of bootloader jump.
5 years ago
Pete Sevander d982abee3d
Bigger combo index (#9318)
* Add change log

* Change combo index from uint8_t to uint16_t
5 years ago
Nick Brassel c023f1b644
Add dual-bank STM32 bootloader support, given GPIO toggle on BOOT0 to charge RC circuit. (#8778) 5 years ago
dhong44 31a0264443
Fix the mousekey scrolling (#9174)
Mousekey scrolling should have a separate repeat variable
to keep track of scrolling acceleration, instead of being
tied to mouse movement scolling in mousekeys. The send function
should record when the last movement was made since this is
when movement is actually sent. Doing this fixes the bug where
the initial press of a mousekey scroll button causes a double scroll.

Signed-off-by: Daniel Hong <daniel.hong@live.com>
5 years ago
Nick Brassel 21a884c87d
F303/Proton-C migration. (#9315) 5 years ago
Nick Brassel 208c2f2cb7
Add support for DMAMUX-capable MCU configuration with WS2812 PWM driver. (#9471) 5 years ago
Ryan 563728ee3c
Change analogRead calls to analogReadPin (#9023)
* Change analogRead calls to analogReadPin

* Add ChangeLog

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

* Retarget changelog for next round
5 years ago
Nick Brassel 970ad01181
`qmk cformat` on `develop` (#9501) 5 years ago
Ryan ccb1fafcb4
Don't compile outputselect.c if Bluetooth is disabled (#9356) 5 years ago
Ryan 4887279bc7
Remove inclusion of adafruit_ble.h from ssd1306.c (#9355) 5 years ago
Ryan ab99c81755
Additional cleanups for V-USB code (#9310) 5 years ago
Nick Brassel e45716748d
Attempt to fix CI for non-master branches. (#9308) 5 years ago
Ryan f3c6924887
Convert `CONSUMER2BLUEFRUIT()` and `CONSUMER2RN42()` macros to static inline functions (#9055) 5 years ago
Ryan 1aa2a0d23f
Various tidyups for USB descriptor code (#9005) 5 years ago
Nick Brassel faa04011d1
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.
5 years ago
Ryan 24af018d87
Remove iWRAP protocol (#9284) 5 years ago
James Young 31bb05c24f
Branch point for 2020 Aug 29 Breaking Change
Update readme.md
5 years ago
Woongki Sung 98e1e18f6b
[Keyboard] Add Flatbread60, Vaneela, and VaneelaEx by nckiibs (#9817)
* creOnic added

* made requested changed by a moderator

* device name changed

* fixed flatbread60 files

* add vaneela and vaneelaEX support

* Update keyboards/nckiibs/vaneelaex/rules.mk

* vaneela rgb disabled

* include error fxied

* vaneelaex Via keymap fixed

* vaneelaex keymap fixed

* all fixed except clang part

* vaneelaex config.h error fixed, clang fixed

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

done

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

done

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

done

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

done

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

* Update keyboards/nckiibs/flatbread60/rules.mk

done

* line endings were fixed as requested

* Apply suggestions from code review

Thank you!

* requests applied and rebased

* pics changed

* flatbread via fixed

* Apply suggestions from code review

Thanks!

* Apply suggestions from code review

Done!

* Apply suggestions from code review except VIA keymaps

Questions regarding VIA keymaps are pending

* Update keyboards/nckiibs/flatbread60/keymaps/default/keymap.c

* flatbread via keymap changed

* Apply suggestions from code review
5 years ago
Andrew Kannan 215b71716a
Cannonkeys via keymap fixes (#9977) 5 years ago
Drashna Jaelre c7b56bee96
[Bug] Fix Swap Hands bug introduced by OSH (#9968)
Fixes the handling for the oneshot cleanup, so it only cleans up if it is active.  It should not cleanup of SHO is off (eg using a normal oneshot key), nor if it's actively pressed or used.  

Previous behavior BROKE swap hand key.
5 years ago
TripTrap b506c498a7
[Keyboard] Dumbo (#9656)
* added dumbo keyboard

* added my personal keymap

* changed picture in readme

* removed rev1 folder to reduce clutter and confusion

* missed a few changes in last commit, everything should be added now

* Apply suggestions from code review

Committed all of the suggested changes except for removing the bootloader reference comments in rules.mk as i think it is handy.

* Update keyboards/dumbo/rules.mk

Removed the bootloader reference as suggested

* Apply clean up of info.json

* Apply suggestions from noroadsleft to support community layout LAYOUT_SPLIT_3x6_4 in the future_4
5 years ago
Maarten Dekkers a536e1bd8f
[Keyboard] Add Quackfire controller (#9958)
* Add Quackfire controller

* Comply with PR checklist

* Update VIA keymap

* Update keyboards/maartenwut/quackfire/readme.md
5 years ago
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
5 years ago
t-miyajima 245797f6b9
[keyboard] Add chavdai40 keyboard (#9820)
* On branch add_chavdai40_keyboard

Changes to be committed:
	new file:   keyboards/chavdai40/boards/GENERIC_STM32_F042X6/board.c
	new file:   keyboards/chavdai40/boards/GENERIC_STM32_F042X6/board.h
	new file:   keyboards/chavdai40/boards/GENERIC_STM32_F042X6/board.mk
	new file:   keyboards/chavdai40/bootloader_defs.h
	new file:   keyboards/chavdai40/chavdai40.c
	new file:   keyboards/chavdai40/chavdai40.h
	new file:   keyboards/chavdai40/chconf.h
	new file:   keyboards/chavdai40/config.h
	new file:   keyboards/chavdai40/halconf.h
	new file:   keyboards/chavdai40/info.json
	new file:   keyboards/chavdai40/keymaps/42keys-dvorak/config.h
	new file:   keyboards/chavdai40/keymaps/42keys-dvorak/keymap.c
	new file:   keyboards/chavdai40/keymaps/42keys-eucalyn/config.h
	new file:   keyboards/chavdai40/keymaps/42keys-eucalyn/keymap.c
	new file:   keyboards/chavdai40/keymaps/42keys-qwerty/config.h
	new file:   keyboards/chavdai40/keymaps/42keys-qwerty/keymap.c
	new file:   keyboards/chavdai40/keymaps/44keys-dvorak/config.h
	new file:   keyboards/chavdai40/keymaps/44keys-dvorak/keymap.c
	new file:   keyboards/chavdai40/keymaps/44keys-eucalyn/config.h
	new file:   keyboards/chavdai40/keymaps/44keys-eucalyn/keymap.c
	new file:   keyboards/chavdai40/keymaps/44keys-qwerty/config.h
	new file:   keyboards/chavdai40/keymaps/44keys-qwerty/keymap.c
	new file:   keyboards/chavdai40/keymaps/default/config.h
	new file:   keyboards/chavdai40/keymaps/default/keymap.c
	new file:   keyboards/chavdai40/mcuconf.h
	new file:   keyboards/chavdai40/readme.md
	new file:   keyboards/chavdai40/rules.mk

* commit suggestions of zvecr and fauxpark, thanks

* commit suggestions of fauxpark, thanks

* commit suggestions of fauxpark, thanks

* commit suggestions of drashna, thanks
5 years ago
KDon a260cbbea6
[Keyboard] Add kabedon keyboards (#9929)
* Add kabedon keyboards

* #define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047

* change README.md

* Update README.md

* Update config.h

* Update keymap.c

* Update rules.mk

* Update rules.mk

* Update README.md

* Update info.json

* Update kabedon980.c

* Update keymap.c

* Update rules.mk

* Update config.h

* Update config.h

* Update info.json

* Update README.md

* Update rules.mk

* Update README.md

* Update kabedon980.c

* Update rules.mk

* Update rules.mk

* Update rules.mk

* Update rules.mk

* Update rules.mk

* Update README.md

* Update README.md

* Update info.json
5 years ago
ai03 99905dcfa3
[Keyboard] Add ai03 Vega (#9850)
* Make initial set of files

* Update keymap

* Cleanup rules.mk

* Update keyboards/ai03/vega/keymaps/via/keymap.c

* Update keyboards/ai03/vega/config.h

* Update keyboards/ai03/vega/readme.md

* Update keyboards/ai03/vega/readme.md

* Update keyboards/ai03/vega/rules.mk

* Add license headers

* Apply suggestions from code review
5 years ago
Yasuhiro SHIMIZU 55102ed980
update yshrsmz lily58 keymap (#9937) 5 years ago
Tom Barnes 24c898218b
[Keymap] add mini_bom chorded keymap (#9916)
* add mini_bom chorded keymap

* Update keymap.c

* Update config.h

* Update keyboards/centromere/keymaps/mini_bom/config.h

* Update keyboards/centromere/keymaps/mini_bom/keymap.c

* Update keyboards/centromere/keymaps/mini_bom/rules.mk

* Update keyboards/centromere/keymaps/mini_bom/keymap.c
5 years ago
Jan Christoph Ebersbach 7d2cfadb55
handwired/dactyl_manuform/5x6_5: fix broken keyboard and keymap reference (#9921) 5 years ago
Maarten Dekkers 06f698a496
Fix Eon95 info.json (#9934) 5 years ago
TerryMathews 395fd7bb56
Blocked65: add support for VIA Configurator (#9938)
* Update config.h

* Create keymap.c

* Create rules.mk
5 years ago
mechlovin fc8cf8ec82
[Keyboard] Adelais En Ciel rev2 (#9834)
* add

* update

* update

* update

* Update config.h

* delete description config.h & change default folder
5 years ago
Ibnu Daru Aji 242336d475
keymap for squiggle goldberg. (#9909) 5 years ago
James Young 4e8af9d41b
Remove HD44780 References, Part 2 (#9918)
* remove HD44780_ENABLE rules: C-F

* remove HD44780_ENABLE config: C-F
5 years ago
Whale Mo 871d35aa43
[Keyboard] Add Whale's Split Keyboard(ver.3) (#9859)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
5 years ago
kb-elmo 2d8703f6cc
[Keyboard] add kb-elmo boards (#9898)
* add kb-elmo boards

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* fix wrong names

* fix VID and UID
5 years ago
Philip (Han) Suh c125d0a7a0
[Keyboard] Re-initial commit of ztboards (#9869)
* Re-initial commit of ztboards

* Added info.json

* Made changes to info.json

* Update keyboards/ztboards/after/config.h

* Update keyboards/ztboards/after/rules.mk

* Update keyboards/ztboards/noon/rules.mk

* Update keyboards/ztboards/noon/config.h

* Update keyboards/ztboards/after/config.h

* Update keyboards/ztboards/noon/config.h

* Update keyboards/ztboards/after/config.h

* Update keyboards/ztboards/after/info.json

* Update keyboards/ztboards/noon/info.json

* Update noon.h

* Update keymap.c

* Update keymap.c

* Update keymap.c

* Update keymap.c

* Update noon.h

* Update keymap.c

* Update keymap.c

* Update noon.h
5 years ago
NightlyBoards 997d1b2bb5
Added a via keymap folder for n87 (#9885)
* Create Alter folder

* Revert "Create Alter folder"

This reverts commit 361103b821dbb22957b66cdedb0d11f996def71c.

* Added a via keymap folder

* Edited files based on requested changes
5 years ago
x1 db54a7b79e
[Keyboard] Add kudox via compatibility (#9875)
* Modify VENDOR_ID of kudox-keyboard series.

* Add via support for kudox/rev3.

* Add via support for kudox/columner.

* Add via support for kudox-game keyboard.

* Remove info.json from kudox/rev1.

* Revert kudox/rev1/info.json.

* Remove redundancy spaces.

* Add key_count on kudox/**/info.json.

* Remove unsupported items from info.json.

* Modify to use rgblight_mode from rgblight_mode_noeeprom

* Remove unneed line from info.json

* Revert keyboards/kudox/rev1/info.json
5 years ago