Skip to content

Instantly share code, notes, and snippets.

@schachmat
schachmat / 8bitdo_ultimate_2_bluetooth_linux_wine.md
Created November 14, 2025 22:45
Firmware update and configure "8bitdo Ultimate 2 Bluetooth" (nintendo switch compatible) via "Ultimate Software v2" through wine

prep

  1. install ttf-ms-win10 fonts, e.g. https://github.com/megapro17/ttf-mswin10-deb/
  2. add i386: sudo dpkg --add-architecture i386 && sudo apt update
  3. install wine: sudo apt install wine
  4. create modify /etc/udev/rules.d/99-8bitdo.rules:
# verify IDs via `lsusb` and/or `udevadm info -q all -a /dev/{hidraw0,usb/hiddev0,...}`
507a508,548
> type "CUSTOM_SUPER" {
> modifiers= Shift+Lock+NumLock+LevelThree+LevelFive+Super;
> map[Shift]= Level2;
> map[LevelThree]= Level3;
> map[Shift+LevelThree]= Level4;
> map[LevelFive]= Level5;
> map[Shift+LevelFive]= Level6;
> preserve[Shift+LevelFive]= Shift;
> map[LevelThree+LevelFive]= Level7;
@schachmat
schachmat / suckfiles.sh
Last active December 28, 2015 23:49
bootstrap suckfiles repo
#!/bin/sh
# The next steps copy all new files from the repo to $HOME
# and mark conflicting files as changed but not yet staged.
cd
git clone --no-checkout git@github.com:schachmat/suckfiles.git $HOME/code/suckfiles && git --git-dir=$HOME/code/suckfiles/.git --work-tree=$HOME reset && git --git-dir=$HOME/code/suckfiles/.git --work-tree=$HOME checkout-index -a
cd - 2>/dev/null
#suckfiles submodule update --init --recursive