keyboardio / Kaleidoscope

Firmware for Keyboardio keyboards and other keyboards with AVR or ARM MCUs.
http://keyboard.io
GNU General Public License v3.0
756 stars 258 forks source link

HostOS plugins error with Atreus keyboard. #968

Open Myrddinlefou opened 3 years ago

Myrddinlefou commented 3 years ago

An unusual comportment with my Atreus : when I had HostOS to my plugins, my keyboard switch from 1 key to the left. Normaly I write bépow from the left top of my keyboard, with the plugins HostOS I write épow...

Does it a problem with Atreus ? Someone try to use Unicode and HostOS plugins with Atreus keyboard ?

I need this to use this plugins to call Unicode function...

PedroDiogo commented 3 years ago

Can confirm I have the same problem with an Atreus keyboard. Initialising the HostOS plugin causes all keys to shift 1 to the left - i.e. on a QWERTY English layout, pressing W actually triggers Q.

Looking at the Plugin's code I had an assumption this was caused because the HostOS plugin is requesting an EEPROM slice and is causing the keyboard layers to shift. I confirmed this by applying the TypingBreaks plugin, which requests for a bigger EEPROM slice than HostOS does and I can see the same thing happening, only worse - i.e. shifted by more than 1 key.

This is what I have done to fix this issue for me: