Commit Graph

32 Commits (39cde914751bfa7d5013b7cb20002af6285cc943)

Author SHA1 Message Date
Jack Humbert 287eb7ad14 Converted audio play functions to *_user (#349)
* Updated personal layouts

* tweaked personal

* Nightly - Audio Cleanup

Refactored the LUTs. Abstracted some of the registers out of audio to
use more functional names. Split audio into audio and audio_pwm. WIP

* nightly - collapsed code

* Added check for note playing to LEDs

* Usability tweaks

* TWEAE

* nightly

added extra kcs to keymap common

* turned on Plank audio

* Added backlight breathing to atomic

* reverted accidental merge

* Added music and audio toggles to Quantum.c

* Redid the audio callbacks

* Adjusted default planck layout to use the user tone naming

* tabs to spaces

* Rewrote the ALL recipe to allow for faster parallel make

* tabs to spaces

* Renamed custom event functions to be 'startup_user' and 'shutdown_user'. Also moved the prototypes around.

* Tweaked pvc atomic layout to work with the pvc planck.

* updates midi scale calling
9 years ago
Jack Humbert b732b79b49 adapts unicode to quantum.c (#333)
* Unicode

to have unicode input you need to:

- set your OS input method to UNICODE if needed
- enable unicode in your makefile
- copy the action_function from
keyboard/planck/keymaps/unicode/unicode.c to your keymap.c
set the target OS method in your keymap.c: void matrix_init_user() {
set_unicode_mode(UC_OSX); } you can then switch when you want with:
set_unicode_mode(UC_OSX); set_unicode_mode(UC_LNX);
set_unicode_mode(UC_WIN);
put some unicode codes in your keymap like so: UC(0x0061)
I did change the bit mask in quantum/keymap_common.c and .h
I’m afraid we will need uint32 to get a total support for all unicode
tables or relocate the handler as @mbarkhau did.

* rearranges keycode values, hooks-up unicode

* removes extra lalt ref

* adds unicode shortcuts and example
9 years ago
Jack Humbert fde477a927 updates midi functionality (#331)
* implements leader key for planck experimental

* allows override of leader timeout

* adds ability to use the leader key in seq

* fixes leader keycode

* adds chording prototype

* fixes keycode detection

* moves music mode to quantum.c

* disables chording by default

* adds music sequencer functionality

* implements audio/music functions in quantum.c

* splits up process_action to allow independent processing of actions

* moves midi stuff to quantum.c

* adds additional scales for midi
9 years ago
Erez Zukerman 1a8c0dd22d Leader key implementation (#326)
* implements leader key for planck experimental

* allows override of leader timeout

* adds ability to use the leader key in seq

* fixes leader keycode

* adds chording prototype

* fixes keycode detection

* moves music mode to quantum.c

* disables chording by default

* updates process_action functions to return bool
9 years ago
Jack Humbert 41b3e399b1 adds keycode shortcuts for OSL and OSM 9 years ago
IBNobody 83e1cc241e Clarified audio.c (#302)
* Updated personal layouts

* tweaked personal

* Nightly - Audio Cleanup

Refactored the LUTs. Abstracted some of the registers out of audio to
use more functional names. Split audio into audio and audio_pwm. WIP

* nightly - collapsed code

* Added check for note playing to LEDs
9 years ago
Eric Tang 620ac4b260 Update functions used to write to EEPROM 9 years ago
Jack Humbert e49712b559 note sliding - on right now 9 years ago
IBNobody 5c98ad5960 Added extra songs, LED indicator notes 9 years ago
IBNobody 23231fa577 Converted goodbye to notes, fixed eighth dotted note macro 9 years ago
IBNobody 3103ea542f Merge remote-tracking branch 'remotes/jackhumbert/master' into personal_atomic_planck 9 years ago
IBNobody d5b72e7bde Fixed many compiler warnings related to print being disabled 9 years ago
Jack Humbert a67d425f4d planck default layout updates 9 years ago
Jack Humbert e7b9959819 no need for length of play_notes array with macro 9 years ago
IBNobody 45f10b4c4b Fixed how note arrays are used. 9 years ago
Jack Humbert 8bbd064cf5 changes to play_notes, goodbye 9 years ago
Jack Humbert 41cc35425a rests between notes as an argument 9 years ago
Jack Humbert c83aa16f1d fixes audio prescaler to emit correct freq 9 years ago
Jack Humbert ab19ebd08a MAGIC functionality, AG swap in default layout 9 years ago
Erez Zukerman 9cfc74c35b [Erez & Jack] Makes tri-layer available across Quantum 9 years ago
Jack Humbert ee2ee7f4f0 audio note length fixes 9 years ago
IBNobody 3755ef5ddb Compiler Warnings / Atomic TLC
Corrected compiler warnings for a number of issues.  Gave Atomic some
TLC.
9 years ago
IBNobody 1d13aa933b Minor Tweaks and Documentation
Fixed compiler warning by including bootloader.h in keymap_common.c.

Changed FORCE_NKRO to only be applied if NKRO_ENABLE is defined.

Added extra documentation to the template config.h
9 years ago
Chris Gerber 47dcec2945 Add support for Atreus running on A-Star 9 years ago
Wojciech Siewierski 65b41e2e59 Use boolean AND instead of bitwise (possible typo)
Fortunately seems harmless.
9 years ago
Jack Humbert 7d6716bede audio on reset 9 years ago
Erez Zukerman d3db8d62f6 More work on ErgoDox EZ default keymap 9 years ago
Jack Humbert 18da1e6801 layer tap, mod tap 9 years ago
Jack Humbert d9f08e6177 toggle and hold-tap action shortcuts 9 years ago
Jack Humbert cc1c32671e fixed makefile, added MO DF shortcuts 9 years ago
Jack Humbert 35a81f5b8b added ergodox 9 years ago
Jack Humbert 46e7fb2d3c quantum separated 9 years ago