Commit graph

51 commits

Author SHA1 Message Date
Rodolphe Belouin
38527f9a3b
Add step sequencer feature (#9703)
* sequencer: create togglable feature

* sequencer: add support for steps

* sequencer: add support for tempo and resolutions

* sequencer: schedule a message print at the right frequency

* sequencer: send a hardcoded note

* sequencer: add support for 8 tracks

* sequencer: play several notes simultaneously

* sequencer: only play the active tracks for a given step

* sequencer: change the default behavior of the track toggler

* sequencer: make number of tracks and track notes customizable

* sequencer: move the keycodes down

Not adding them at the end of the list apparently risks breaking
compatibility with VIA.

Source: https://github.com/qmk/qmk_firmware/pull/9703#discussion_r459202733

* sequencer: add unit tests

* sequencer: add unit test for matrix_scan_sequencer

* sequencer: expose internal state for better unit-testability

* sequencer: add unit tests for matrix_scan_sequencer
2020-11-07 19:35:14 -08:00
Drashna Jaelre
7f0def77a2 Move Split Common VPATH addition (#4716)
Specifically, only add the split_common folder to COMMON_VPATH if the feature is eanbled, to prevent issues with compilation
2018-12-31 08:45:44 -08:00
That-Canadian
0fab3bbde3 Lets split eh (#3120)
* 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-16 22:25:02 -04:00
Jack Humbert
ade22f8e2c
Adds support for Planck Rev 6 (#2666)
* 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-07-16 11:48:31 -04:00
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
2017-07-10 11:18:47 -04:00
Fred Sundvik
1aa0be4cf1 Fix serial_link vpath problem 2017-06-19 00:46:53 +03:00
Fred Sundvik
1c0fe956ac Split common.mk into common.mk and common_features.mk
To support including keyboard/keymap specific rules before it
2017-06-18 21:22:22 +03:00
Fred Sundvik
7424261dae Try to build tmk_common 2017-06-18 21:10:42 +03:00
Jack Humbert
7edac212c8 separated into api files/folder 2016-11-26 15:38:44 -05:00
Fred Sundvik
c692fd1d55 More common settings for unit tests and keyboards 2016-08-27 21:57:49 +03:00
Fred Sundvik
0a11460175 Build actual tests, convert byte_stuffer_tests 2016-08-27 21:57:49 +03:00
Fred Sundvik
27a673f5cf The makefile actually calls build_test 2016-08-27 21:57:49 +03:00
tmk
6746e37088 Remove core library and build files 2015-04-10 01:25:48 +09:00
tmk
b4e2d325f3 Change TOP_DIR to TMK_DIR in makefiles 2015-04-09 16:20:42 +09:00
tmk
363950982a Merge branch 'rn42' into merge_rn42
Conflicts:
	.gitignore
	common.mk
	common/debug_config.h
	common/print.h
2014-11-24 13:50:33 +09:00
tmk
ea524d7bef Adhoc fix compile error of usb_usb 2014-09-22 10:42:20 +09:00
tmk
e81c70149e Fix common files for mbed 2014-07-30 14:07:43 +09:00
tmk
c67ae2a6b5 Port action_* to mbed 2014-07-30 14:07:43 +09:00
tmk
867f115bee Port timer to mbed 2014-07-30 14:07:43 +09:00
Kai Ryu
ac570686b6 New branch for 6KRO feature 2014-05-13 14:57:13 +09:00
tmk
676d94d137 Fix PS/2 mouse support 2013-11-02 04:30:08 +09:00
tmk
d52d554360 Fix mod stuck of MODS_KEY when leaving layer #62
- Add action_util.c and remove action_oneshot.c
- Add oneshot_mods for MODS_ONESHOT
- Add weak_mods for MODS_KEY and MACRO
- weak_mods is cleared when layer switching
2013-10-04 16:04:31 +09:00
tmk
7e8a85caad Fix VERSION: add opton --always to git describe 2013-10-03 13:27:04 +09:00
tmk
9f29fa6bf3 Fix version info command 2013-09-19 00:51:44 +09:00
tmk
259c4a040a Add build option KEYMAP_SECTION for keymap editor 2013-09-11 14:01:47 +09:00
tmk
8bc96ac571 Add version string 2013-09-11 13:44:54 +09:00
Wraul
1eb8523e95 Add support for backlight 2013-06-22 17:23:36 +09:00
tmk
d9c06db600 Add xprintf(xitoa) from elm-chan.org 2013-05-14 16:16:57 +09:00
tmk
4e93b3fa67 Fix bootmagic and eeconfig for virtual DIP SW 2013-04-07 15:36:50 +09:00
tmk
c6d88d2795 Rename file layer_switch to action_layer 2013-04-02 17:44:24 +09:00
tmk
c69f7e1069 Add action_tapping.[ch] for refactoring 2013-03-29 02:46:05 +09:00
tmk
2c0bb5e7e6 Add common/suspend.c 2013-03-25 01:46:32 +09:00
tmk
d44290b91b Add NO_ACTION_ONESHOT config option 2013-03-21 14:42:40 +09:00
tmk
1687041267 Add COMMAND_ENABLE build option 2013-03-19 16:05:53 +09:00
tmk
9a106537f6 Add NO_PRINT and NO_DEBUG config options.
- NO_PRINT: disable print.h API(also disable debug.h)
- NO_DEBUG: disable debug.h API
2013-03-19 14:08:40 +09:00
tmk
f0c5f1b910 Add breathing sleep LED during USB suspend 2013-03-16 17:24:05 +09:00
tmk
ef8439bddb Add build option BOOTMAGIC_ENABLE 2013-03-11 15:28:46 +09:00
tmk
4d64fd8faa Add bootmagic.c and fix bootloader_jump 2013-03-09 11:22:27 +09:00
tmk
359b68d35f Add eeconfig.c - eeprom stored paramerters 2013-03-07 03:30:08 +09:00
tmk
d9f2875866 Replace layer_stack with layer_switch 2013-02-15 18:48:36 +09:00
tmk
768ea72f10 Add layer_stack files taking apart from action.c 2013-02-15 13:47:41 +09:00
tmk
aad91a30a3 Add macro feature. 2013-02-04 22:53:45 +09:00
tmk
1e3e41a2c9 Clean code. 2013-01-28 14:06:42 +09:00
tmk
8a709c2750 Add initial fix for new keymap. 2012-12-16 02:32:07 +09:00
tmk
4ae979f6ef Initial version of new code for layer switch is added. 2012-10-17 15:55:37 +09:00
tmk
c5060ea819 test build of 'Host shield' in minimal env. 2012-08-28 21:56:15 +09:00
tmk
e075361b6f Add CONSOLE_ENABLE build option to LUFA. 2012-07-20 13:08:18 +09:00
tmk
cc68adeb57 Add protocol/lufa. LUFA supported now. 2012-06-28 23:05:21 +09:00
tmk
63d82fcaeb Fixed Makefile to adjust new directories. 2012-06-07 12:35:24 +09:00
tmk
e65575d4a5 Refactored bootloader jumping. Added USBaspLoader support. 2011-09-22 16:56:36 +09:00