aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
Commit message (Collapse)AuthorAgeFilesLines
* Fix breathing always on for soft PWM (#5983)fauxpark2019-06-191-7/+10
| | | | | | | | | | * Fix breathing always on for soft PWM * Remove reference to hardware PWM pins in BACKLIGHT_BREATHING description Now, breathing will only be unsupported when Timers 1 and 3 are both used by Audio * Document BACKLIGHT_ON_STATE and its purpose
* Set default I2C clock speed to 100kHz for split_common (#6161)Danny2019-06-191-0/+4
| | | | | | | | * Set default I2C clock rate for split_common boards to 100kHz Default from I2C driver is 400kHz. * Update documentation for setting I2C clock speed
* Fix backlight breathing on C6 (#6102)fauxpark2019-06-171-19/+29
| | | | | | | | | | * Fix backlight breathing on C6 * Account for ATmega32A's single TIMSK register (MT40) * Document hardware PWM on D4 for ATmega32A * Add C6 and D4 to BACKLIGHT_PIN description
* Remove all Copyrighted Sounds and Songs (#5905)Drashna Jaelre2019-06-061-518/+75
| | | | | | | | | | | | | | | | | | | | | | | * Remove all Copyrighted Sounds and Songs This removes any song that has a license/copyright on them. Additionally, it adds the license information for any song that remains. * Add removed song list Can be reverted if we'd rather do that * Use newer coding conventions * Fix typo Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Revert copyright date * Update quantum/audio/song_list.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Moving rgb typedefs into a single location (#5978)XScorpion22019-06-043-50/+21
| | | | | Because someone named the define poorly Using full relative path as handwired/promethium has a color.h file
* Fix compilation error when I2C and encoder is enabled for split codeDanny Nguyen2019-06-021-1/+1
|
* Add additional pins for Teensy 3.x and LCzvecr2019-06-011-0/+2
|
* Add belgian layout for sendstring (#6008)Kimat Boven2019-05-291-0/+94
| | | | | | | | | | | | | | | | * belgian layout had no sendstring definition * backtick was not defined for belgian sendstring * slash definition was wrong for belgian sendstring Co-Authored-By: fauxpark <fauxpark@gmail.com> * use BE_ keys whenever we can Co-Authored-By: fauxpark <fauxpark@gmail.com> * ^ can be sent as a normal key (not a dead key) with altgr+para
* Fixing matrix_scan so it properly returns changed statusRyan Caltabiano2019-05-281-1/+1
|
* Fix up Debouncing in AVR Templates (#5964)Drashna Jaelre2019-05-232-2/+2
|
* Reduce rgb matrix firmware sizeRyan Caltabiano2019-05-1931-399/+312
|
* Make DEBUG keycode disable as well as enable (#5898)fauxpark2019-05-191-1/+5
| | | | | | * Make DEBUG keycode disable as well as enable * print() can always be used regardless of debug_enable state
* Added custom center point to rgb matrixRyan Caltabiano2019-05-196-7/+13
|
* Spirals, Pinwheels, and Documentation....Oh My! RGB Matrix Effects (#5877)XScorpion22019-05-197-0/+141
| | | | | | | | * Spirals, Pinwheels, and Documentation....Oh My! * Spiral effect band thickness adjustments * Fixing animation spin directions
* Fixing hsv_to_rgb where s = 0 and v < 255 (#5915)XScorpion22019-05-191-0/+4
| | | | | | * Fixing hsv to rgb where s is 0 and v is < 255 * Update color.c
* Single Color Band scrolling left to right effects (#5867)XScorpion22019-05-193-0/+44
|
* Adds a configurable initial delay to the audio clicky feature (#4286)Josh2019-05-171-3/+8
| | | | | | * Adding an AUDIO_CLICKY_DELAY_DURATION configurable value to the AUDIO_CLICKY feature. * Tweaking my community keymap to work better with my rev 4 planck.
* Typedef'ed layer_state_t to uint32_t (#3637)Alex Ong2019-05-171-2/+2
| | | | | | | | | | | | | | | | | | | | * Typedef'ed layer_state_t to uint32_t. This enables future work with layer_state_t to uint8_t for optimization purposes. * Removed accidental xeal60 commit * Revert to egyptian brackets, added sizeof(layer_state_t) so when layer_state_t is redefined it will automagically work. * Add additional typedefs * Add checks for setting layer state * Update tmk_core/common/action_layer.h Co-Authored-By: alex-ong <the.onga@gmail.com> * Revert commit.
* Add effect range to rgblight.c (#5856)Takeshi ISHII2019-05-152-102/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add rgblight_set_effect_range() * implement effect range * Arrange the order of function list in rgblight.h . * update docs/feature_rgblight.md * fix RGBLIGHT_RAINBOW_SWIRL_RANGE default value * add example code about Utility Functions * add example code about direct operation functions * When RGBLIGHT_SPLIT is defined, the following function has no meaning and is invalidated. * rgblight_setrgb_master(r, g, b) * rgblight_setrgb_slave(r, g, b) * rgblight_sethsv_master(h, s, v) * rgblight_sethsv_slave(h, s, v) * add temporary test code for rgblight_set_effect_range * fix rgblight_effect_knight() bug * Test End. Revert "add temporary test code for rgblight_set_effect_range" This reverts commit 5680cddd012d68b2db75a532862a7fef250f8973.
* NK65 Addition (#5865)yiancar2019-05-152-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | * Nk65 initial commit * Minor fix for compatibility * Make everything pretty * Update keyboards/nk65/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/nk65/readme.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Chmod Dummy * Update getting_started_introduction.md * Revert "Update getting_started_introduction.md" This reverts commit daf446acf7ae4ae00488b389ce04f2cfca708d44.
* [Keymap] Pvinis master (#5843)Pavlos Vinieratos2019-05-141-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trying to make my global keymap * refactoring the old keymap using userspace * getting there * move readme and remove community layout * use pragma once instead of ifndefs * just make iris work * iris decent * better naming * add some modifiers on the home row * use symbol and sysctl layers * fix up * a bit faster * add < and > on symbol layer * apparently im not using z all that much.. * okok * fix up stuff * led init is back * bring back led indicators * Update keyboards/ergotravel/keymaps/pvinis/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * not needed * not needed * delete these for now, until I use the userspace code * remove katamari from here. made a new pr for it * lower case * drashna suggestion :) * move files to correct place * fix missing command
* Added check for event pressed to clear space cadet (#5839)XScorpion22019-05-111-5/+7
| | | | | | | | | | | | * Added check for pressed to clear space cadet * Found some docs to update * Update docs/quantum_keycodes.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Changes from PR
* Fix for Solid Reactive mode bug (#5846)XScorpion22019-05-111-1/+0
| | | derp, forgot to remove the pragma once
* RGB Matrix Effects: Cycle Out to In & Cycle Out to In Dual (#5812)XScorpion22019-05-103-0/+48
|
* Cleanup/rgb matrix (#5811)XScorpion22019-05-1026-396/+214
| | | | | | | | | | | | | | | | | | | | | | * clean up rgb matrix extern usage Moved rgb matrix boiler plate into macros Rebased onto typing heatmap pr * Fixing the reversed frame buffer access in digital rain * Fixing digital rain & typing heatmap if keyreactive effects are not enabled * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> * Adding parenthesizes to DRIVER_LED_TOTAL where necessary * Updated docs * added notes about parentheses
* Norman layout for the minidox keyboard (#5747)Torben Hoffmann2019-05-092-0/+93
| | | | | | | | | | | | | | | | | | | | | | * Norman layout with Lower and Raise layers working * Add keymap_extra def for Norman layout * Re-org'ed the modifiers as explained in the Readme * Corrected colour legend for KLE that the Readme links to * Use #pragma once in header file * Use pragma once and move user config to config.h * Move definitions to the right file and correct link in Readme * Move def of NM_COLN to the logical place in header file * Add sendstring_norman.h for when the laptop layout is not QWERTY * Update quantum/keymap_extras/sendstring_norman.h Co-Authored-By: lehoff <torben.lehoff@gmail.com>
* RGB Matrix Typing Heatmap (#5786)XScorpion22019-05-074-15/+119
| | | | | | * RGB Matrix Typing Heatmap Effect * Fixing file name and effect init
* rgb_led struct conversion (aka: Per led (key) type rgb matrix effects - part ↵XScorpion22019-05-0722-71/+53
| | | | | | | | | | | | | | | | 2) (#5783) * Initial conversion of the rgb_led struct * Converting last keyboard & updating effects to take advantage of the new structure * New struct should not be const * Updated docs * Changing define ___ for no led to NO_LED * Missed converting some keymap usages of the old struct layout
* [Split] fix split_common i2c backlight disabling (#3886)Rainer Clasen2019-05-071-3/+2
| | | | | | | slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
* [Keyboard] Sol keyboard conversion to split common (#5773)XScorpion22019-05-062-19/+6
| | | | | | | | | | | | | | | | | | | | | | * Split common conversion * Updated serial and encoder pins * Fixing default folder until r2 * Fixing oled driver on slave split common * Fixing keymap compile errors * Fixing oled inactivity timer on slave split common * Hoisted oled driver task, init, & activity to keyboard.c * Update keyboards/sol/config.h Co-Authored-By: XScorpion2 <rcalt2vt@gmail.com> * Remove TAPPING_FORCE_HOLD
* Space Cadet: Reducing unnecessary reported keypresses (#5781)XScorpion22019-05-052-18/+23
| | | | | | | | * Reducing unnecessary reported keypresses and minor docs / variable name changes * Apply suggestions from code review Co-Authored-By: XScorpion2 <rcalt2vt@gmail.com>
* Fix up ps2avrgb templates (#5606)MechMerlin2019-05-033-6/+5
| | | | | | | | * fix up ps2avrgb templates * set backlight enable to no as per review comments * add back no_uart
* New keycode macro (XP) for shifted character pairs using UNICODEMAP + bug ↵Konstantin Đorđević2019-05-037-37/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes and improvements (#4803) * Expose unicode_saved_mods * Add UNICODEMAP shift pair functionality and XS keycode * Add XS to keycode reference documentation * Pick pair index based on both Shift and Caps Lock state * Add XS to Unicode feature docs * Clean up process_unicode* headers * Extract unicode_map index calculation into function * Pick pair index as XOR rather than OR of Shift and Caps states * unicode_input_start() has to be called before the unicode_map index is calculated * Replace unicodemap_input_error() with more generic unicode_input_cancel() * Replace register+tap+unregister with tap_code16(LCTL(LSFT(KC_U))) * UNICODE_OSX_KEY → UNICODE_KEY_OSX, UNICODE_WINC_KEY → UNICODE_KEY_WINC * Make keycode range checks more robust * Fix keycode range checks for different input modes * Add UNICODE_KEY_LNX, update docs * QK_UNICODEMAP_SHIFT → QK_UNICODEMAP_PAIR * XS → XP, update docs * Tweak Unicode docs * Use recently added MOD_MASK_SHIFT and IS_HOST_LED_ON helpers * Update Unicode table in docs/keycodes.md * Update Unicode docs per review comments * Replace references to Mac OS X with macOS in Unicode docs * As of v0.9.0, WinCompose supports all possible code points * Expand descriptions in XP docs * Update keycode table and cycling docs * Further expand cycling docs
* Add DFU Suffix for ARM boards (#5763)Drashna Jaelre2019-05-032-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add DFU Suffix for ARM boards * Blindly flash DFU SUFFIX ARGS for now * Fix commented out check * Fix DFU Suffix Argument check Thank you jack! * Update Travis CI Scripts to include dfu-util So we can get dfu-suffix as well * Manually add dfu-suffix package * Use external repo for newer version of dfu-util One that includes dfu-suffix * Update .travis.yml * Silence unnecessary output from dfu-suffix
* If RGBLIGHT_EFFECT_BREATHE_CENTER is undefined, use fixed breathe table ↵Takeshi ISHII2019-05-024-3/+135
| | | | | | | | | | instead of exp() and sin() (#5484) * If RGBLIGHT_EFFECT_BREATHE_CENTER is undefined, use fixed breathe table instead of exp() and sin() * Change rgblight breathing table size to be easily selectable. add RGBLIGHT_BREATHE_TABLE_SIZE macro for customize breathing effect.
* Adjusted the linear led table and hsv_to_rgb to better handle 255 hue (#5739)XScorpion22019-05-012-33/+24
| | | | | | * Adjusted the linear led table and hsv_to_rgb to better handle 255 hue * small math adjustments to better handle specific uint8_t rounding and overflows
* Simple fix for selecting which tracked key press to work off of for simple ↵XScorpion22019-05-012-2/+4
| | | | reactive effects (#5745)
* rgblight 255 hue (#5547)XScorpion22019-05-013-178/+81
|
* Fixing incorrect usage of RGBLED_NUM in ws2812 driver when used with RGB ↵XScorpion22019-05-011-2/+2
| | | | Matrix (#5744)
* Implement kb function for rgb matrix to led lookup (#5738)XScorpion22019-04-301-1/+6
|
* Simple extended space cadet (#5277)XScorpion22019-04-295-120/+186
| | | | | | | | * Simplifying and Extending Space Cadet to work on Ctrl and Alt keys * PR Review feedback * Reverting back to keycodes
* Updated rgb_led struct field modifier to flags (#5619)XScorpion22019-04-2923-61/+79
| | | | Updated effects to test led flags Updated massdrop to use new flags field for led toggle
* RGB Matrix: Custom effects on a kb/user level (#5338)Daniel Prilik2019-04-292-6/+49
| | | | | | | | | | | | | | * Revamped custom effects approach See docs for example usage * push-up RGB Matrix default mode Override default effect using RGB_MATRIX_STARTUP_MODE. Useful on boards without EEPROM support (*cough* Massdrop ALT/CTRL *cough*) * update docs
* Fix sendstring "#" producing "£" instead (#5724)fauxpark2019-04-271-2/+2
|
* add RGBLIGHT_SPLIT_SET_CHANGE_MODEHSVS; to rgblight_update_dword()mtei2019-04-241-0/+1
|
* add RGBLIGHT_SPLIT_SET_CHANGE_MODEHSVS; to eeconfig_update_rgblight_default()mtei2019-04-241-1/+4
|
* [FIX] Misspelled RGB_YELLOW (#5692)Rockman182019-04-231-1/+1
|
* RGB Matrix Animations: Three/six new reactive effects (wide, cross, nexus) ↵M-AS2019-04-225-0/+191
| | | | | | | | | | | | (#5602) * added 3 new RGB_Matrix effects * made cross effect behavior smoother * removed dead code * added effect descriptions
* Fix #3566 use an hardware timer for software PWM stability (#3615)Brice Figureau2019-04-222-43/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With my XD60, I noticed that when typing the backlight was flickering. The XD60 doesn't have the backlight wired to a hardware PWM pin. I assumed it was a timing issue in the matrix scan that made the PWM lit the LED a bit too longer. I verified it because the more keys that were pressed, the more lighting I observed. This patch makes the software PWM be called during CPU interruptions. It works almost like the hardware PWM, except instead of using the CPU waveform generation, the CPU will fire interruption when the LEDs need be turned on or off. Using the same timer system as for hardware PWM, when the counter will reach OCRxx (the current backlight level), an Output Compare match interrupt will be fired and we'll turn the LEDs off. When the counter reaches its maximum value, an overflow interrupt will be triggered in which we turn the LEDs on. This way we replicate the hardware backlight PWM duty cycle. This gives a better time stability of the PWM computation than pure software PWM, leading to a flicker free backlight. Since this is reusing the hardware PWM code, software PWM also supports backlight breathing. Note that if timer1 is used for audio, backlight will use timer3, and if timer3 is used for audio backlight will use timer1. If both timers are used for audio, then this feature is disabled and we revert to the matrix scan based PWM computation. Signed-off-by: Brice Figureau <brice@daysofwonder.com>
* Define RGB colors (#5300)Erovia2019-04-222-94/+147
| | | | | | | | | | | | | * Define RGB colors Define RGB colors and pass them to the rgblight functions, instead of defining multiple macros. * Add new color definitions support for RGB Matrix * Add/clarify info about new color definitions in Docs * Add deprecation warning banner to rgblight_list.h