Controlling Anki on Linux using a Nintendo Switch Joycon

I’m lying in bed all day curing a cold and I can’t really motivate myself to tackle the 1000+ reviews I’ve amassed over the last few weeks. There’s one gimmick I just implemented to motivate myself, and that is to use one of the Joycons of my Nintendo Switch to control Anki on Ubuntu. Much more comfortable than the laptop keyboard.

It’s straightforward to pair one of Nintendo’s joycons with Ubuntu. Open the bluetooth configuration (I used blueman), long-press the sync button on the joycon and presto, the controller is ready to pair.

Download and install “Antimicro”, a package which lets assign keypresses on the controller to normal keyboard keys: https://launchpad.net/~mdeguzis/+archive/ubuntu/libregeek/+packages

I’ve assigned the following keys:

  • analog stick left: space (as the swipe gesture I use in Ankidroid)
  • analog stick right: 1 (as the swipe gesture I use in Ankidroid)
  • B: 1
  • Y: 2
  • A: 4
  • X: space

It’s a breeze! Now, on to my reviews.

One thought on “Controlling Anki on Linux using a Nintendo Switch Joycon”

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.