Age | Commit message (Collapse) | Author |
|
|
|
* 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>
|
|
|
|
|
|
* V-USB: Use manufacturer and product strings from config.h
* Update board configs
|
|
* Update switch to array to allow custom values
* Add adc keymap
* update docs to reflect alignment of default 10 bit
* start conversion to USE_ADCVn
* samplerate is hella wrong...stub out for now
* basic f1 and f4 functionality
* Tidy up current changes
* Restore old pinToMux function
* Add back sample rate for supported platforms
* F0 compile fixes
* wordsmithery
Co-Authored-By: Ryan <fauxpark@gmail.com>
* Remove reference to avr only function
Co-authored-by: Ryan <fauxpark@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Fixed typo of 'confid.h' to 'config.h'
* Fixed broken links in docs
* Fixed a lot of dead links
* Removed all dead links that I could not find a replacement for
* Placed knops links back in
* Fixed plank keymaps so that they will compile for planck light
* Https doesn't work on knops.io
* tv44:budi now compiles
* s60_x:amnesia0287 now compiles
* Fixed allocation of key_combos so that narze keymap for planck can compile correctly
* Disabled rgb on ergodone and infinity
* Enabled tap dance so it compiles
* Added return statement so it compiles
* If compiling on light disable extra functionality
* Properly redefined variable so it compiles
* Remove remaining dead links
|
|
* handwired/magicforce61: refactor
Renamed layout macro KEYMAP to LAYOUT.
Keymap now uses #include QMK_KEYBOARD_H.
Refactored the default keymap to use non-auto-prepended keycodes per QMK standard.
Deleted deprecated action_get_macro block (was unused).
* handwired/magicforce61: Configurator support
* handwired/magicforce61: readme cleanup
Restructured the readme to be more similar to current QMK template.
* handwired/magicforce61: replace missing image in readme
Replaced the missing wiring image (error 404) with a table.
* handwired/magicforce61: rename readme to lowercase
* Convert config.h to #pragma once include guard
|
|
|
|
* Cleanup Default Keymaps to conform to QMK Firmware standards
* Minor fixes
* Revert some changes
|
|
|
|
|
|
function of indicator lights was inverted. these changes correct that.
|
|
* ortho_4x12 jotix2 layout
* ortho_4x12 jotix2 layout
|
|
* Add handwired split tester
* Update keyboards/handwired/splittest/readme.md
Co-Authored-By: nooges <nooges@users.noreply.github.com>
* Update keyboards/handwired/splittest/readme.md
Co-Authored-By: nooges <nooges@users.noreply.github.com>
|
|
* new keyboard lovelive9
* Update keyboards/lovelive9/config.h
thank you
Co-Authored-By: ginjake <hsginjake123@gmail.com>
* Apply suggestions from code review
Co-Authored-By: ginjake <hsginjake123@gmail.com>
* fix review
* fix readme
* move handwired
* Update keyboards/handwired/lovelive9/keymaps/default/keymap.c
thanks
Co-Authored-By: ginjake <hsginjake123@gmail.com>
* Apply suggestions from code review
commit suggestion
Co-Authored-By: ginjake <hsginjake123@gmail.com>
* fix spell miss
* fix review
* fix col and row
* fix layout define
|
|
|
|
MOUSEKEY_ENABLED = yes
by default
|
|
|
|
* 412_64 move to handwired
412_64 and its second printing, Mark Zero Stand Aside, are now obsolesced by new hardware. As only two units exist in the wild not owned by me, I'm moving the definition to handwired.
* Mark 3 Stand Aside ready for production.
Uploading firmware, compiled and tested, for Mark 3 Stand Aside. The hardware's ready, now the software is too.
* Whoops.
Should've branched before pushing Stand Aside. Sorry 'bout that.
* Revert "Whoops."
This reverts commit d222046cfe6183ed0c42286ec9ebb5034a5d1009.
* Revert "Mark 3 Stand Aside ready for production."
This reverts commit c790899af7a6d92855aebe6a96003f1fe9be66b3.
|
|
* handwired/trackpoint: refactor
- layout macro KEYMAP renamed to LAYOUT
- keymap now uses #include QMK_KEYBOARD_H
* handwired/trackpoint: readme cleanup
- fix wiring layout image URL
- update readme structure
* handwired/trackpoint: rename readme to lowercase
* handwired/trackpoint: update header files to use #pragma once
|
|
|
|
clean-up (#5307)
* Tidy up 5x6.h
- replaced tabs with spaces (QMK convention)
- aligned layout macro visually
* Fix Configurator support for Dactyl Manuform 5x6
- layout macro had the wrong name in info.json
* Tidy up 5x7.h
- replaced tabs with spaces (QMK convention)
- aligned layout macro visually
* Fix Configurator support for Dactyl Manuform 5x7
- corrected keyboard height
- layout macro had the wrong name in info.json
* Tidy up 6x6.h
- replaced tabs with spaces (QMK convention)
- aligned layout macro visually
* Fix Configurator support for Dactyl Manuform 6x6
- layout macro had the wrong name in info.json
|
|
(#5292)
* handwired/terminus_mini: refactor
- white space changes in terminus_mini.h (alignment)
- keymap now uses #include QMK_KEYBOARD_H
- refactored TMK macros into QMK process_record_user
- refactored TMK layer functions into QMK keycodes
- removed redundant keycode definitions
* handwired/terminus_mini: Configurator support
* handwired/terminus_mini: readme cleanup
- completed keyboard description
- removed Hardware Availability line (it was blank)
- updated Docs links
|
|
* Initial Prime_E commit
* Via support for Prime_EXL
* Backlight testing
* update libs
* Clean up and addition of VIA compatibility.
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/primekb/prime_e/keymaps/default/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/primekb/prime_e/keymaps/default/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/primekb/prime_e/keymaps/default/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/handwired/prime_exl/keymaps/via/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* Update keyboards/primekb/prime_e/keymaps/default/keymap.c
Co-Authored-By: holtenc <holtenc@gmail.com>
* removed IS_COMMAND from config.h. updated GPIO commands
* clean up libs
|
|
(#5234)
* handwired/magicforce68: refactor
- layout macro KEYMAP renamed to LAYOUT
- keymap now uses #include QMK_KEYBOARD_H
- keymap now uses non-auto-prepended keycodes per QMK standard.
- deleted deprecated and unused action_get_macro block from default
keymap.
* handwired/magicforce68: Configurator support
* handwired/magicforce68: readme cleanup
- updated to current QMK template
- rename file to lowercase
- fix make commands
- Add Docs links
|
|
|
|
* jotix 4x12 keymap
* readme corrections
* jotix ortho 4x12 keymap
* jotix ortho 4x12 keymap
* jotix ortho 4x12 keymap
* jotix ortho 4x12 keymap
* jotix ortho 4x12 keymap
* jotix ortho 4x12 keymap
* add jotpad keyboard
* add jotpad keyboard
* backlight pin for arduino pro micro
* readme correction
* readme correction
* jotpad16
* Update keyboards/handwired/jotpad16/jotpad16.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/handwired/jotpad16/keymaps/default/keymap.c
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/handwired/jotpad16/readme.md
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
|
|
* add jotanck keyboard
* Update keyboards/jotanck/config.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/jotanck/config.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/jotanck/config.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/jotanck/config.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/jotanck/jotanck.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/jotanck/jotanck.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* Update keyboards/jotanck/jotanck.h
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* requested changes
* Update keyboards/handwired/jotanck/readme.md
Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
* add backlight support
* add default keymap image to readme
* add default keymap image to readme
|
|
* Remove CUSTOM_MATRIX refs from DIODE_DIRECTION
* Remove '#define DIODE_DIRECTION CUSTOM_MATRIX'
* Remove CUSTOM_MATRIX refs from DIODE_DIRECTION documentation
|
|
* handwired dactyl with 2 pro micros added
* dactyl_promicro README updated
* dactyl_promicro default layout fixed
* requested changes
* dactyl_promicro README updated
* qmk toolbox link fixed
* layout reflects phys. keys positions
|
|
|
|
|
|
* Added xeal60 via clone of lets split
* Delete removed other keymaps
* Basic keymap (no FN). Compiles.
* Removed NP_STAR and NP_SLSH.
* Removed "debounce_algo = manual" in all keyboards with CUSTOM_MATRIX = yes.
* Changed order of rules in TMK. Documented feature.
* Fixed missing whitespace in debounce documentation
Table wasn't working due to missing newline.
* Added bold in a few areas.
* DO NOT USE - Removed debounce from TMK.
* Remove accidental xeal60 commit
* DO NOT USE - debounce successfully compiled.
* DO NOT USE Revert back to original API to support split_keyboards.
* Working eager_pk
* Whitespace cleanup.
* Restored debounce.h since there wasnt any real change.
* Moved debouncing_time variable to inside #if debounce
* Removed check for custom_matrix. We can safely include the debounce file for compilation when custom_matrix is used.
* Removed #include "matrix.h" from debounce.h
* Bug fix - was using MATRIX_ROWS instead of num_rows
* Fixed compilation error with debounce_sym_g
* Renamed DEBOUNCE_ALGO to DEBOUNCE_TYPE
* Malloc array in debounce_eager_pk, since split keyboards only use MATRIX_ROWS/2.
* Fix compile error in debounce_eager_pk
* Stricter, leaner DEBOUNCE_TYPE section in common_features.mk. Cleanup debounce_type.mk
|
|
* Migrate fn_actions for default keymaps
* Rename the Grave/Escape Shift masks
* No need for shift_esc_shift_mask
* Change breaks to return false
* Right align pointers
* Add default case
* Separate cases with empty lines
|
|
* Add stm32f072 base ck4x4 to handwired
* add prints
* Save these tries
* Save changes again
* Working hadron oled
* OLEd working but ws2812b still iffy:
* save another try
* Encoder feature + OLED
* RTC code
* Implement clock setting mode
* Whitespace
* Encoder hooked up to working LED PWM code
* Add missing files
* eeprom changes
* Save changes
* Move i2c master
* Move satisfaction75 under cannonkeys
* Set proper default folder
* Revert some core changes
* Undo paved iris changes
* Reorganize code for maintainability and prep for new features
* Add starting code for clock OLED mode
* Clock set mode finished
* Add custom encoder modes
* Actually add VIA keymap
* Gate to only 072
* fix gate for only 072
* Update header guards and includes
* Update i2c selection strategy
* Update board.c to handle software reset to DFU
|
|
* Move boards to cannonkeys and share resources
* Share common files between cannonkey boards
* Fix ortho60 keymap
* update LED numbers
* Add RGB keys to Ortho60 and Ortho48
* Add Backlight control to default layout Ortho60 and 48
* Remove unnecessary ws2812.c SRC from rules.mk
|
|
|
|
(#4977)
* handwired/space_oddity: refactor
- config.h: updated to use #pragma once include guard
- rules.mk: replace `?=` with `=`
- space_oddity.h:
- updated to use #pragma once include guard
- layout macro KEYMAP renamed to LAYOUT
- default keymap:
- updated to use #include QMK_KEYBOARD_H
- replace references to Planck keycodes
- replace fn_actions-powered layer switch keycode
- rebuild keymap block comments
- keymap layers now use short-form keycodes
- refactor action_get_macro keycodes into process_record_user
* handwired/space_oddity: Configurator support
* handwired/space_oddity: readme cleanup
- update readme to better conform with QMK template
- fixed the make command.
|
|
* Update Practice60 to enable RGB via SPI DMA and use PWM backlight breathing
* Correct stm32f103c8t6 flash size in eeprom definition
* Remove unused files and improve ifdef checks
* Update quantum/rgblight.c
Co-Authored-By: awkannan <andrew.kannan@klaviyo.com>
* Update quantum/rgblight.c
Co-Authored-By: awkannan <andrew.kannan@klaviyo.com>
* EEPROM implementation fix and updated p60 code
* Update define
* Remove dead code
* Update keymap to remove test key
* Update keymap again
|
|
* Added xealousbrown keyboard.
* Changed to pragma once in config.h
* Update keyboards/handwired/xealousbrown/rules.mk
Added bootloader.
Co-Authored-By: alex-ong <the.onga@gmail.com>
* Update keyboards/handwired/xealousbrown/config.h
Commented out IS_COMMAND() since it is already default value.
Co-Authored-By: alex-ong <the.onga@gmail.com>
|
|
|
|
* Remove unnecessary IS_COMMAND definition in clueboard/66/rev4
* Replace keyboard_report->mods with get_mods() in IS_COMMAND definitions
* Update docs to use get_mods() instead of keyboard_report->mods
* Replace keyboard_report->mods with get_mods() in tmk_core/protocol/usb_hid/test
For some reason, this occurrence used KB_LSHIFT and KB_RSHIFT, which don't exist
* Replace keyboard_report->mods with get_mods() in Massdrop keyboards (as per @patrickmt)
|
|
* Add default value for IS_COMMAND for COMMAND feature
* Cleanup and consistency
* Update Templates to reflect change
* Fix IS_COMMAND in template
* Fix IS_COMMAND define
* Use consistent IS_COMMAND block in templates
* Remove unnecessary `#undef IS_COMMAND` directives
* Fix compile issue on orthodox
* Reomve IS_COMMAND option for newer boards
* Remove all existing definitions of IS_COMMAND if they use default LSHIFT and RSHIFT setting
* Remove a couple of additional IS_COMMAND defines
* Remove remaining redundant IS_COMMAND definitions
* Remove #undef IS_COMMAND from orthodox:drashna and whitefox:konstantin
* Remove multiple empty lines in modified config.h files
* Update additional boards
* Reomve IS_COMMAND from newer boards
* Update Alice keyboard
* Remove IS_COMMAND from additional boards
Jan 24th edition
|
|
|
|
|