Commit Graph

386 Commits (9a91b42e922ed152cb548c529233cf7f2b6d5183)

Author SHA1 Message Date
Fred Sundvik a14d539ad6 Revert back to normal sleeping wait behaviour for STM32 7 years ago
Fred Sundvik 510a8d3339 Fix compiler settings for MCUs with floating point 7 years ago
Kenneth Aloysius 365b863578 Backlighting for JJ40 and underglow initialisation code (#2260)
* Cleanup Mechmini keymap. Once the custom RGB function is defined, there is no need to manually handle RGB code.

* Change default to KEYMAP_MIT, not KEYMAP_OFFSET

* Add custom RGB code for JJ40

* Reset Mechmini advertised power draw to 500. Will have to test actual maximum power draw later.

* RGB working on JJ40.

* Fix: saturation increase/decrease flipped

* Add new directory for my custom keymap with RGB keycodes

* Swap LAlt and LGUI

* Update JJ40 max power draw with measured value

* Update: fun40 rules.mk to enable underglow; earlier failed Travis CI

* Fix: init RGB LEDs on boot. Also added HHKB-like keymap for XD60.

* Super rudimentary backlight test, init RGB LEDs on boot

* Backlighting works - stays on for now

* Toggling working

* Now can override backlight.c functions. Problem was functions in backlight.c weren't called before due to a lack of matrix_scan_quantum() in matrix.c

* Timers not working

* Delete global.h

* Cleanup

* Compiles

* Good sign: LEDs stop working again

* Handle timer1 overflow

* Progress: fix: forgot to init

* Backlighting fully working now except breathing.

* Revert keymap to original keycodes

* Update XD60 keymap README

* Update JJ40 keymap with backlight toggles

* Breathing working just fine.

* Update references

* Add backlight_set() call

* Cleanup code to disable backlight

* Fix: does not compile

* Fix: missing call to rgblight_task.

* Testing with BACKLIGHT_BREATHING

* Cleanup

* Cleanup comments

* More commenting cleanup.

* Do not enable BACKLIGHT_BREATHING by default
7 years ago
Danny Nguyen fe8942e55c Add -e to enable interpretation of escape characters 7 years ago
Balz Guenat 4931510ad3 backlight breathing overhaul (#2187)
* add breathing to bananasplit

* backlight breathing overhaul

* fix the backlight_tick thing.

* fix for vision_division backlight

* fix a few keymaps and probably break breathing for some weirdly set-up boards.

* remove BL_x keycodes because they made unreasonable assumptions

* some fixes for BL keycodes

* integer cie lightness scaling

* use cie lightness for non-breathing backlight and make breathing able to reach true max brightness
7 years ago
fauxpark b3bcafcc4b Unsign key argument in add_key_to_report 7 years ago
Colin T.A. Gray bad839e6ac make 'layer_state_set' visible to user code 7 years ago
Colin T.A. Gray 3aec9a4354 fixes 'layer_state_cmp' when layer is '1' (aka layer 0, aka layer 1<<0) 7 years ago
Colin T.A. Gray 1620d78e73 helper to compare current layer_state to user layer
Performs the same bit comparison that the layer_move
functions perform
7 years ago
Jack Humbert 9fdc276260
Updates bootloader settings, adds file size check (#2029)
* pull fuse settings for bootloader jump

* fix 32a chips

* make automatic bootloader selection optional

* quantify bootloaders

* fixs #164, speeds up dfu reset

* fix for chips w/o usb

* missing an n

* fix bootloader sizes, use words for addresses

* fix bmini, pearl, and [[ issue, make things quiet

* ignore avr errors on arm for now

* update settings for the light

* document bootloader stuff

* add bootloader title
7 years ago
Colin T.A. Gray 3e2fd64279 I found a typo! 7 years ago
Seebs 39d3d92364 Allow multiple process_record() calls per scan
This is particularly relevant for, e.g., the ergodox EZ and
other keyboards with slow scan rates. Without changing the API or
behavior of individual process_record() calls, we allow a
configuration flag to make multiple calls in a single scan.

This will probably have miniscule effects on non-steno users,
and it's not enabled by default for any keyboards. Added note
about it to ergodox README.

Signed-off-by: seebs <seebs@seebs.net>
7 years ago
Jack Humbert f5a9758cea
Adds serial number string to USB descriptors (#1996)
* add serial number string to usb descriptors

* better name for serial number
7 years ago
Jack Humbert ec3e065f0d
QMK DFU bootloader generation (#2009)
* adds :bootloader target

* update planck and preonic revisions

* remove references to .h files for planck

* update preonic keymap

* only add keyboard.h files that exist

* add production target

* hook things up with the new lufa variables

* update rules for planck/preonic

* back backlight key turn of status led when pressed

* add manufacturer/product strings to bootloader
7 years ago
Takayuki Matsubara 27ee425892 add pgm_read_dword for Infinity ErgoDox
avoid the following error when `UNICODEMAP_ENABLE = yes`:

```
quantum/process_keycode/process_unicodemap.c:52:21: error: implicit declaration of function 'pgm_read_dword'
```
7 years ago
Jack Humbert cf9f6bbd91 adds per-layer rgb color option to ez 7 years ago
Jack Humbert fe56fffe7d
Adds .qmk file type as a target for QMK Toolbox (#1084)
* adds .qmk file type as a target

* adds info.json with vendor and product

* add files for qmk info script

* add layout file for planck

* ignore .qmk files

* more settings

* update rules for avr and chibios

* update .qmk generation for info.json and inheritence
7 years ago
Rob Rogers 2d77f9cbb9 Fix pointing device feature 7 years ago
tsankuanglee 04b9b62bdc RETRO_TAPPING (#1922)
* add RETRO_TAP: tap anyway, even after TAP_TERM, if no interruption

* consistent variable name

* add option doc

* change name for consistency

* make RETRO_TAPPING default to off
7 years ago
Takayuki Matsubara 7b65b7e948 fix Logical Maximum to be recognized as 255 instead of -1
SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312
7 years ago
Phil Hagelberg 0f5928fdf4 Fix avrdude message to not mention any specific device model. 7 years ago
Benjamin Dengler ba4b3d9d72 Added BLE support for USB-USB converter. (#1824)
* Added BLE support to USB-USB converter

* Added readme

* Removed images and Makefile
7 years ago
Jack Humbert 800ec55dfc Make arguments redo, subproject elimination (#1784)
* redo make args to use colons, better folder structuring system [skip ci]

* don't put spaces after statements - hard lessons in makefile development

* fix-up some other rules.mk

* give travis a chance

* reset KEYMAPS variable

* start converting keyboards to new system

* try making all with travis

* redo make args to use colons, better folder structuring system [skip ci]

* don't put spaces after statements - hard lessons in makefile development

* fix-up some other rules.mk

* give travis a chance

* reset KEYMAPS variable

* start converting keyboards to new system

* try making all with travis

* start to update readmes and keyboards

* look in keyboard directories for board.mk

* update visualizer rules

* fix up some other keyboards/keymaps

* fix arm board ld includes

* fix board rules

* fix up remaining keyboards

* reset layout variable

* reset keyboard_layouts

* fix remainging keymaps/boards

* update readmes, docs

* add note to makefile error

* update readmes

* remove planck keymap warnings

* update references and docs

* test out tarvis build stages

* don't use stages for now

* don't use stages for now
7 years ago
Jesper Brix Rosenkilde 966e2660cf Add option to reverse PS2 mouse axes and scrolling 7 years ago
Joe Martin b91ffba4be #1792 added in waits from tmk for locking switches
fixes #1792
7 years ago
Snipeye ee13228486 Generic Pointing Device (#1767) 7 years ago
Fred Sundvik 25285a1c5a Don't process keycodes on the slave 7 years ago
skullydazed 5fd68266f5 Clueboard 60% support (#1746)
* initial clueboard_60 support

* LED lighting support

* fix the clueboard->clueboard_66 rename

* Add layout support to clueboard_60

* Fix the 60_iso layout so it's actually iso

* add a default keymap for AEK layout

* fix clueboard_17

* Fixup the ISO layouts

* Fix the `wait_ms()/wait_us()` definitions for chibios

* Fix up the wait_ms/wait_us hack. Reduce stack size.

* Add a missing #include "wait.h"

* commit files that should have already been comitted
7 years ago
Wilba6582 85c3c5926c Force Raw HID interface number to 1 always (#1669) 7 years ago
Jack Humbert ba2ad57ca8 add rule shortcut via @samwho's suggesion 7 years ago
Jack Humbert 677b89768b add bin targets - closes #1648, fixes #1647 7 years ago
Jack Humbert c3c07eff51 update building for .hex, secrets moving 7 years ago
Joe Wasson bae1144a9f Fix compilation error when NO_ACTION_LAYER is defined. 7 years ago
Joe Wasson bdc0880ca5 Add compile error if too many endpoints are defined for the ATmega32U4. 7 years ago
Danny Nguyen 71d1c02a9b Add message to avrdude script that it can't used within WSL currently 7 years ago
Balz Guenat 5bff9d6181 cleanup usb-usb converter code 7 years ago
Balz Guenat 2aa5e44640 some major steps toward making the usb-usb converter work 7 years ago
Martin Sandiford c622423668 Remove floating point calculation in mouse move. Saves approx 650 bytes if no other floating point used. 7 years ago
That-Canadian 26650731d1 Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14).
Updated MiniDox split_util.h and eeprom files to reflect this change.

I recommend adding this to any split board that used these files, my changes will not effect them currently.
7 years ago
Jack Humbert 26d348b6d1 move version info to the top of the output 7 years ago
Jack Humbert 5210f94a56 add version to make output 7 years ago
Danny Nguyen e0caf94323 Move avrdude flashing script from individual keyboard rules.mk to common location and improve script.
Port detection script is now more informative and better handles first time flashing of a Pro Micro
7 years ago
Joe Wasson f30f12ec81 Add support for GeminiPR steno protocol.
This protocol breaks out "duplicate" keys into their own entry in the packet so that more complicated logic can be done on the software side, including support for additional languages and alternative theories.
7 years ago
Jack Humbert 6ed8ce4f59 Merge pull request #1491 from fredizzimo/msys2
Add support for msys2 build environment
7 years ago
Fred Sundvik 7f67abd7d7 Fix bitfield problem when compiling in native mingw 7 years ago
Jack Humbert 42d5a324eb Start mvoing hardware drivers to /drivers/ (#1433)
* start driver isolation

* update nyquist and orthodox boards

* update atreus62

* move drivers to avr

* update avr conditional
7 years ago
Fred Sundvik ba405cfbb4 Don't search for TEENSY_LOADER_CLI if it's already defined 7 years ago
Fred Sundvik 7ea8753b72 Don't run dfu-programmer unless specified as a target
This introduces a grep dependency, which I believe we didn't have
before, but it should be available and installed by default on all the
supported systems.
7 years ago
Fred Sundvik 4087d6da0d Add wait support for tests 7 years ago
Fred Sundvik 4e69a8bda6 Add basic timing support, and SFT_T tests
Also expose some bugs...
7 years ago