Commit Graph

456 Commits (9a8904a9c071730ef6712f8be93c38ac4b43fbdb)

Author SHA1 Message Date
Erez Zukerman 153eb95ab2 Merge pull request #1279 from awpr/master
Change to per-key eager debouncing for ErgoDox EZ.
8 years ago
coderkun d28d390ad6 Update README for keymap “coderkun_neo2” 8 years ago
coderkun 49046f621b Merge tag '0.5.43' into coderkun_neo2 8 years ago
coderkun 9e7448ea89 Fix F-keys on right hand to start on first key 8 years ago
Andrew Pritchard cd30a60d0e Change to per-key eager debouncing for ErgoDox EZ.
Empirically, waiting for N consecutive identical scans as a debouncing
strategy doesn't work very well for the ErgoDox EZ where scans are very
slow compared to most keyboards.  Instead, debounce the signals by
eagerly reporting a change as soon as one scan observes it, but then
ignoring further changes from that key for the next N scans.

This is implemented by keeping an extra matrix of uint8 countdowns, such
that only keys whose countdown is currently zero are eligible to change.
When we do observe a change, we bump that key's countdown to DEBOUNCE.
During each scan, every nonzero countdown is decremented.

With this approach to debouncing, much higher debounce constants are
tolerable, because latency does not increase with the constant, and
debounce countdowns on one key do not interfere with events on other
keys.  The only negative effect of increasing the constant is that the
minimum duration of a keypress increases.  Perhaps I'm just extremely
unlucky w.r.t. key switch quality, but I saw occasional bounces even
with DEBOUNCE=10; with 15, I've seen none so far.  That's around 47ms,
which seems like an absolutely insane amount of time for a key to be
bouncy, but at least it works.
8 years ago
Fred Sundvik 430a8e1750 Fix LCD SS pin configuration
There was a typo, so the attempted configuration proably didn't do
what it should have done. I think it left the pin floating, and
could cause the LCD problems issue-1230.
8 years ago
Jack Humbert a25d4a90c3 Merge pull request #1235 from siroken3/siroken3
Siroken3
8 years ago
Thomas Fitzsimmons bc7b1843ba Fix KEYMAP_YORUIAN macro
Fix the ordering of the arguments to the KEYMAP macro.
8 years ago
Fred Sundvik 94b14bdd6a Add missing serial_link.h include
Which fixes a warning when building Ergodox Infinity as a righthand
master.
8 years ago
Fred Sundvik 2d1528c69f Fix keymap yoruian on Infinity 8 years ago
Fred Sundvik 12159e782c Fix overflow warning in ordinary keymap 8 years ago
Fred Sundvik db6d7207b5 Fix overflow warnings in dvorak_programmer 8 years ago
Jack Humbert 30ad505dd0 Merge pull request #1213 from nstickney/master
ErgoDox Familiar layout
8 years ago
Fred Sundvik 65b7bf6878 Extract Ergodox default visualizer into simple_visualizer
It's good enough if you only want to change the lcd text and color.
8 years ago
Fred Sundvik c5d2b7ff16 Rename led test to led_keyframes and move animation to Ergodox 8 years ago
Fred Sundvik 306353bf06 Create a file for shared Ergodox Infinity animations 8 years ago
Fred Sundvik c6ca996f4e Combine startup and resume animations 8 years ago
Fred Sundvik ed1710589f Fix suspend not disabling backlight 8 years ago
Fred Sundvik 3074269c4a Move the logo drawing keyframe to lcd_keyframes 8 years ago
Fred Sundvik df67169d42 Move LCD logo to visualizer resources 8 years ago
Fred Sundvik 3eb8785e87 Add automatic flush for the LCD screen 8 years ago
Fred Sundvik 995002fa91 LCD initialization sequence according to the docs
The LCD initialization show now be much better and faster with no
flickering at the startup.

Also fix the contrast control.
8 years ago
Fred Sundvik 3994fb1e79 Yet another try to fix the LCD corruption
It turns out that the ChibiOS K20 SPI driver doesn't handle the
chip select, so it needs to be done manually. Acquiring the bus is
not enough since the pin was in the wrong mode. This is now fixed.

Also increase the frequency of the SPI from around 200kHz to nearly
20 Mhz.
8 years ago
Fred Sundvik b7041d06ae Move common visualizer keyframes into visualizer_keyframes.h 8 years ago
Fred Sundvik 64d63ab422 Remove the need to manually enable the visualizer 8 years ago
Fred Sundvik 1e7585e767 Separated backlight and LCD disable/enable
Also moved them to correct places
8 years ago
Fred Sundvik 5ba228b684 Move LCD backlight keyframes to its own file 8 years ago
Fred Sundvik 5815c5d317 Move LCD keyframes to its own file 8 years ago
Fred Sundvik 05bc4880dd Tweaks to the Ergodox default visualizer
No animation, display led statuses and layer name on the same screen
Don't display layer bitmap
Fully saturated colors for caps, less saturated ones normally
8 years ago
Fred Sundvik fa6da78ff3 Simple layer display on Infinity Ergodox default layout 8 years ago
Fred Sundvik 65e8127c91 Add visualizer for Ergodox default 8 years ago
Fred Sundvik 5fbaf31dc2 Brightness for Ergodox Infinity emulated LEDs 8 years ago
Fred Sundvik 39385144e7 Emulate Ergodox EZ leds by LCD colors 8 years ago
Fred Sundvik 9a4ce28683 Display layer bitmap and keyboard led states on the LCD 8 years ago
Fred Sundvik 951b6f33a0 CIE 1931 for the LCD backlight 8 years ago
Fred Sundvik f113f95440 Move CIE1931 and breathing tables to its own file 8 years ago
Fred Sundvik bc97413bf7 Disable LEDs on Infinity Ergodox 8 years ago
Fred Sundvik e6f7a8a47a Display QMK logo at startup of Infinity Ergodox 8 years ago
Fred Sundvik a8f5897b97 Add support for blitting to the Infinity LCD 8 years ago
Fred Sundvik 2b24d35846 Hopefully finally fix the corrupt LCD
The SPI bus is now selected and deselected before each set of commands.
Also speed up things by buffering many commands into a single batch.
8 years ago
Fred Sundvik f5c8941652 UGFX is compiled once per keyboard instead of keymap 8 years ago
Fred Sundvik bb86be1f1f Remove unneeded makefile include 8 years ago
Fred Sundvik aee9b10e92 Add a keyboard specific visualizer 8 years ago
Stick bcf70c0203 ErgoDox Familiar layout v1 8 years ago
Stick bee9183e7f Merge remote-tracking branch 'upstream/master' 8 years ago
Erez Zukerman 13c882a1fb disables space cadet rollover 8 years ago
Xyverz c034b61b1a Merge remote-tracking branch 'upstream/master' 8 years ago
coderkun 049f906b5e Fix keymap “coderkun_neo” to use LALT instead of RALT 8 years ago
coderkun 021edb6ec6 Add several Unicode symbols to keymap “coderkun_neo2” 8 years ago
coderkun c74f47555c Add keymap diagrams to readme of keymap “coderkun_neo2” 8 years ago