Commit Graph

72 Commits (c2b44c7222a1417431beb4bc2c192f8fbc9da33f)

Author SHA1 Message Date
Stefan Dorn c2b44c7222 let modifiers unstick layers 2016-06-19 08:48:26 +01:00
Stefan Dorn dbbd699115 cleanup 2016-06-14 20:14:44 +01:00
Stefan Dorn 90bb49c27d split {mod,layer}_sticky_on 2016-06-14 12:38:17 +01:00
Stefan Dorn 2498833488 sticky cleanup 2016-06-14 11:45:57 +01:00
Stefan Dorn 270feb968a sticky modifier keys! 2016-06-14 11:34:43 +01:00
Stefan Dorn 6786b70ecc rework sticky layer keys 2016-06-14 10:51:17 +01:00
Stefan Dorn f52da5065a explicit modifiers 2016-06-14 09:39:45 +01:00
Stefan Dorn 9c81274348 refactor (and minor sticky bug) 2016-06-14 07:32:06 +01:00
Stefan Dorn 5dc33a30d0 refactor 2016-06-14 05:53:45 +01:00
Stefan Dorn 118f511e61 refactor 2016-06-14 05:48:02 +01:00
Stefan Dorn f5c1169af3 get rid of trans logic complete 2016-06-14 05:44:11 +01:00
Stefan Dorn 60e45f8444 refactor 2016-06-14 04:48:56 +01:00
Stefan Dorn ec2820d15b more explicit types 2016-06-14 01:49:01 +01:00
Stefan Dorn 5a651b2854 define debug_printf variant as well 2016-06-14 00:29:43 +01:00
Stefan Dorn 8748e15b59 comment 2016-06-13 23:42:34 +01:00
Stefan Dorn 79cdf4f1f3 conditional debug 2016-06-13 23:31:20 +01:00
Stefan Dorn 01be9a4d7f some basic debug messages 2016-06-13 05:25:30 +01:00
Stefan Dorn 61a8817f2e get rid of transparent keys as part of the coming sticky cleanup 2016-06-12 06:44:09 +01:00
Stefan Dorn a812590707 cleanup 2016-06-12 06:09:57 +01:00
Stefan Dorn 789169a86f refactor 2016-06-12 05:26:27 +01:00
Stefan Dorn 2f2c3d6994 refactor 2016-06-12 05:20:40 +01:00
Stefan Dorn 445e25b01b refactor so we only use as many layers as we need 2016-06-12 05:04:40 +01:00
Stefan Dorn 91e2e9f41f minor cleanup 2016-06-12 04:39:06 +01:00
Stefan Dorn a57fdf7efd refactor 2016-06-12 04:09:35 +01:00
Stefan Dorn afc7d9f87c cleanup 2016-06-12 03:55:36 +01:00
Stefan Dorn 6ec9fcbb98 simplify includes 2016-06-12 03:34:29 +01:00
Stefan Dorn 238a98d6b6 refactor 2016-06-12 02:54:30 +01:00
Stefan Dorn 1b7a4b23fd simplify makefile 2016-06-12 01:56:10 +01:00
Stefan Dorn 070b4b2caa no more warnings and automatic headers 2016-06-12 01:31:58 +01:00
Stefan Dorn ba59fee6f9 tree! 2016-06-12 00:58:43 +01:00
Stefan Dorn 90bd7c9116 almost a tree now! 2016-06-12 00:51:39 +01:00
Stefan Dorn a244e9d58d refactor 2016-06-11 22:58:12 +01:00
Stefan Dorn 0c141072da clean up header structure 2016-06-11 21:19:48 +01:00
Stefan Dorn dea913d16e less nesting 2016-06-11 20:24:42 +01:00
Stefan Dorn 3dda86dd7e remove useless headers 2016-06-11 20:13:46 +01:00
Stefan Dorn ea97f185de trust layers_top so we don't disable a layer that was already off 2016-02-13 22:08:05 +00:00
Stefan Dorn b5f88d06f4 fix latch bug 2016-02-06 14:31:54 +00:00
Stefan Dorn 8b78e8b3a4 simplify layer functions by using the keycode again 2016-02-04 15:28:11 +00:00
Stefan Dorn c88a558e8c more safety 2016-02-04 14:58:58 +00:00
Stefan Dorn 5419ab9d7a yes i can loops why 2016-02-04 14:19:14 +00:00
Stefan Dorn 37faadc8aa initialize layers to be safe 2016-02-04 14:19:06 +00:00
Stefan Dorn f9f5e4b5aa replace the stack with a flat array 2016-02-04 10:00:05 +00:00
Stefan Dorn c695c37c40 more refactor 2016-02-04 09:38:07 +00:00
Stefan Dorn e19ca08263 remove led code 2016-02-04 09:26:58 +00:00
Stefan Dorn f0da34b909 more refactor 2016-02-04 09:22:40 +00:00
Stefan Dorn 447f1fb2cb begin major refactor to replace the layer stack 2016-02-04 06:43:33 +00:00
Stefan Dorn 2159af0050 minor cleanup 2016-02-04 04:38:18 +00:00
Stefan Dorn e71b8fbeb0 simplify names 2016-02-04 04:27:48 +00:00
Ryan Prince 513b82d585 adding media keys
taken from Hasu codebase (https://github.com/tmk/tmk_keyboard) usb.c/.h
and usb_extra.c/.h, though these files only have the PJRC
copyright/license in the header
2013-04-14 00:29:47 -07:00
Ryan Prince ce4495372c caching the transparent key pressed result to fix sticky key bug
the behavior for transparent keys not affecting sticky key state was
broken because kbfun_transparent() was only getting called for key
press and not for key release because the layer for the key was cached
on keypress. By caching the transparent key press result on key press
we can ensure that the main_arg_trans_key_pressed is set correctly for
any key function called on key release
2013-04-08 11:51:01 -07:00