cheapino icon indicating copy to clipboard operation
cheapino copied to clipboard

Upgrading to new VIAL

Open imavlr opened this issue 4 months ago • 1 comments

Not sure if you're still using/supporting the cheapino, but I've been using mine for a long time now, and wanted to try out some new QMK features that were recently added to VIAL, especially Chordal Hold.

However, there seems to have been a big rewrite of the quantum/encoder.{h,c} in QMK, making the encoder code in the cheapinov2 branch incompatible.

I found a different issue referring to this same change https://github.com/tompi/cheapino/issues/77 which stemmed from trying to run latest QMK, however VIAL has caught up enough to where this has become an issue for upgrading.

I see that it is some internal QMK functionality that you've exposed, but since it has been removed from QMK, I can no longer simply expose it.

Steps taken to get this far:

  • Merged upstream qmk-vial into the cheapinov2 branch
  • Moved info.json to keyboard.json, which seems to be the new way.
  • Removed the dummy definitions for the ENCODERS_PAD_{A,B} in config.h

If anyone more knowledgeable could help me out with this, it would be greatly appreciated.

imavlr avatar Aug 30 '25 15:08 imavlr

Coincidentally, I'm working on updating the firmware as well.

  • My branch is based on the current qmk master and uses external qmk userspace. Ultimately it'd be great to merge the non-userspace parts into qmk upstream.
  • I moved configuration into .json files as much as possible.
  • I also changed the way encoder events are injected to properly go through the qmk pipeline, which gives proper mod-tap support. For example, an encoder-turned event now triggers mod-tap behavior. This was really bugging me..

Here's the firmware side: https://github.com/schuay/qmk_firmware/tree/cheapino And the userspace side: https://github.com/schuay/qmk_userspace/tree/working/keyboards/cheapino/keymaps/schuay

schuay avatar Aug 31 '25 14:08 schuay