To avoid issues with static initialization order, move the Mouse & AbsoluteMouse initialization from the MouseWrapper constructor to MouseWrapper.begin, which will be called from MouseKeys.begin. Thus, user code does not need to change. This fixes keyboardio/Kaleidoscope#140. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/365/head
parent
5e79b16923
commit
65fee12dad
Loading…
Reference in new issue