summaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-17Lets split eh (#3120)That-Canadian1-1/+1
* Line ending stuff again * Added Let's Split Eh? Files and updated #USE_IC2 checks to also include th EH revision (can only be used in I2C) * Added personal keymap, updated some of the EH files * Created new keyboard file for testing "lets_split_eh" will merge into lets_split once fully functional * Added split code from lets_split, removed pro micro imports and LED code THIS IS WORKING CODE, WITHOUT RGB AND BACKLIGHT * Took back original Lets Slit files for the lets_split keyboard, working in the lets_split_eh folder for now * Updated eh.c * More rework of the I2C code, added global flags for split boards. * Introduced RGB over I2C, having weird edge case issues at the moment though * Fixed weird I2C edgecase with RGB, although still would like to track down route cause.. * Changed RGB keycodes (static ones) to activate on key-up instead of key-down to elimate weird ghosting issue over I2C * Lots of changes, mainly externalized the Split keyboard code and added logic for only including when needed. - Added makefile option "SPLIT_KEYBOARD" that when = yes will include the split keyboard files and custom matrix - Split keyboard files placed into quantum/split_common/ - Added define option for config files "SPLIT_HAND_PIN" FOr using high/low pin to determine handedness, low = right hand, high = left hand - Cleaned up split logic for RGB and Backlight so it is only exectuted / included when needed * Updated documentation for the new makefile options and #defines specific to split keyboards * Added a bit more info to docs, so people aren't confused * Modifed Let's Split to use externalized code, also added left and right hand eeprom files to the split_common folder * Removed some debugging from eh.c * Small changes to keyboard configs. Also added a default keymap (just a copy of my that_canadian keymap). * Added a README file to the Let's Split Eh? * Changed it so RGB static updates are done on key-up ONLY for split boards rather than all boards. Also fixed leftover un-used variable in rgblight.c * Updated default keymap and my keymap for Let's Split Eh? Updated the comments so it reflects RGB control, and removed audio functions. * Fixed lets_split_eh not having a default version * Removed "eh" references from lets_split folder for now * Took lets_split folder from master to fix travis build errors, weird my local was overriding. * Changed LAYOUT_ortho_4x12_kc -> LAYOUT_kc_ortho_4x12 to match bakingpy and others * Removed rules.mk from my lets_split keymap, not needed * Updated the config_options doc to better explain the usage of "#define SPLIT_HAND_PIN"
2018-07-16Adds support for Planck Rev 6 (#2666)Jack Humbert1-6/+14
* initial files for rev 6 with encoder * music map init, dip scan added * adds ws2812 driver for arm * flesh out dip and encoder support * adds default encoder res * adds default encoder res * start muse implementation * muse working with encoder as control * flip direction * try mouse wheel again * dont break other revs * dont break other revs * conditional autio * pwm ws driver (not working) * update build includes for chibios * update ws2812 driver/config * last commit for glasser code * working example * remove rgb for now * finish up rev6 * working encoder keycodes * add warnings to planck keymaps about the LAYOUT
2018-06-13fix issue with rgbinit unused variable (#3165)Jon Allen1-2/+0
* fix issue with rgbinit wiping out customization. * removed unused variable
2018-06-04Add rgblight mode 35 (R,G,B test mode) (#3114)Takeshi ISHII1-3/+35
* add rgblight mode 35 (RGB cyclic mode) into quantum/rgblight.c * Update docs, add rgblight mode 35(RGB cyclic) * rename RGBCYCLIC to RGBTEST
2018-05-29Add and fix _noeeprom functions to many of the RGB Underglow functions (#3070)Drashna Jaelre1-21/+72
* And and fix _noeeprom functions to many of the RGB Underglow functions * Many functions are unnecessarily calling the eeprom write code. The toggle/enable is command is especially guilty of this, as it writes to EEPROM 3 times. But rgb mode writes twice, every time it's called. And init resets the rgb eeprom range and then writes back to it twice! * Fixed the rgblight_sethsv_noeeprom to work as expected, by moving a lot of the code to a helper function. * Added a noeeprom function for mode, enable, disable, and toggle functions. (didn't bother for increase/decrease stuff, and didn't add new keycodes) * Add to predefined colors list * Add new functions to manual/docs * Update RGB Sleep feature to use _noeeprom Because that's exactly what it should be doing, actually!
2018-05-09Add effect speed support for RGB Matrix *No EEPROM yet* (#2922)yiancar1-0/+26
* Added Modular keyboards L,R and NUM Created code modules for the 3 modules of the modular keyboard. Original idea by MechboardsUK. Uses i2c implementation similar to lets split * Remove modular from master This is to fix incorrect branching * Add effect speed support for RGB Matrix *No eeprom yet* Keycodes RGB_SPI and RGB_SPD have been added to increase and decrease effect speed. Speed is not saved in EEPROM yet as per Jack's request. * Update rgb_matrix.c * RGB Matrix speed fix rgblight.h * More fixes for rgb speed. Speed functions declared but not used in rgblight * More travis fixes.. * Another one for travis..
2018-03-26change rgblight_increase_val() and eeconfig_update_rgblight_default(), use ↵mtei1-7/+9
RGBLIGHT_LIMIT_VAL insted of 255.
2018-01-03ADD RGBLIGHT_LIMIT_VAL (#2214)YouCanFly1-0/+6
2017-12-17Add COSPAD to QMK and add functions to read HSV (#2156)kamisamamizu1-0/+12
* Added functions to read HSV values I have added three functions to rgb_light.c to be able to read the hue, saturation and value from other places. They are rgblight_get_hue(), rgblight_get_sat(), adn rgblight_get_val(). * Create keymap.c * Add COSPAD support to QMK I have ported the COSPAD numpad to qmk. * Update readme.md * Update cospad.c
2017-12-08Add 'rgblight_disable' and 'rgblight_setrgb_at/rgblight_sethsv_at'Colin T.A. Gray1-11/+35
Refactors rgblight_toggle to use rgblight_enable or rgblight_disable Use 'rgblight_setrgb_at/rgblight_sethsv_at' to control an individual LED
2017-10-18Address #1689 by using a formula to define the breathing curve (#1692)skullydazed1-1/+6
* Address #1689 by using a formula to define the breathing curve and exposing defines to control the shape of the curve. * Tweak the behavior of breathing for clueboard
2017-09-17Address issue #1713 (#1728)Dylan Khor1-1/+1
2017-09-16update to driver separationJack Humbert1-1/+2
2017-09-06RGB improvements (#1684)skullydazed1-3/+21
* Allow the knight animation to be restricted to a portion of the LED strip * Add keys for jumping directly to particular animation modes * Remove orphaned break statements * Tweak the `RGB_MODE` buttons so they cycle through the same mode. * small indentation fix
2017-09-05Improve and simplify RGB Knight mode (#1677)David Stosik1-39/+20
* Simplify RGB Knight mode code, and make it look closer to KITT * Remove RGBLIGHT_EFFECT_DUALKNIGHT_LENGTH
2017-09-03Fix Kitt and its default behavior (#1674)David Stosik1-7/+5
2017-06-11Added a build flag for using a custom rgblight driverLuiz Ribeiro1-1/+2
2017-04-09Move CIE1931 and breathing tables to its own fileFred Sundvik1-53/+5
2017-03-29Clarify the quantum license (#1042)skullydazed1-0/+15
* Clarify the license for files we have signoff on * Update against the currently signed off files * Remove unused and not clearly licensed headers * Replace an #endif I accidentally removed while resolving merge conflicts
2017-02-06Added non-animated gradient modedungdung1-0/+19
2017-02-06Added mode reverse step functiondungdung1-0/+8
2017-02-06Christmas mode now works with even RGBED_NUMdungdung1-4/+4
Added Christmas mode steps to reduce red and green colors blending into each other Added Christmas mode interval Increased green hue to 120
2016-12-29Removed errant +Scott Wilson1-1/+1
2016-12-28Add extern for 'led' global, set 'weak' attribute for rgblight_set()Scott Wilson1-0/+1
2016-12-23Christmas RGB light modeJack Humbert1-0/+21
2016-11-29Test layout for ErgoDox EZ manufacturing robotErez Zukerman1-0/+6
2016-11-24converted to new formatJack Humbert1-0/+13
2016-11-18Groundwork for dedicated color keycodesErez Zukerman1-0/+7
2016-11-17rgb light through midiJack Humbert1-5/+5
2016-11-14mostly workingJack Humbert1-50/+51
2016-11-13mergingJack Humbert1-22/+39
2016-10-10Merge pull request #814 from fredizzimo/rgb_tuningJack Humbert1-22/+33
Improve the RGB led effects
2016-10-09CIE 1931 dim curveFred Sundvik1-17/+30
2016-10-09Apply the dim curve to the RGB outputFred Sundvik1-5/+3
Just like it's supposed to be used. It now looks much better.
2016-10-09Tunable RGB light intervalsFred Sundvik1-0/+6
2016-10-06RGBW lightsJack Humbert1-3/+15
2016-07-26Simplify HSV->RGB calculationJordi Orlando1-14/+12
De-dupe repeated code
2016-07-26Increament -> incrementJordi Orlando1-9/+9
2016-07-26Clean up rgblight.cJordi Orlando1-354/+377
Fix formatting issues, clarify comments
2016-07-07updates rgblight implementation, makes non-timer stuff compatible with audioJack Humbert1-4/+19
2016-06-21reduces rgblight warnings, integrates completely (#428)Jack Humbert1-4/+4
2016-04-26actually resolves conflicts in rgblight.cJack Humbert1-5/+0
2016-04-26resolves conflicts in rgblight.cJack Humbert1-2/+7
# Conflicts: # quantum/rgblight.c
2016-04-22Update functions used to write to EEPROMEric Tang1-10/+10
2016-04-11Fixup RGBLIGHT support for clueboard2skullY1-3/+3
2016-01-25fix bugs in animation effectsYang Liu1-1/+1
2016-01-25Integrate WS2812 code into quantum coreYang Liu1-0/+505