Skip to content

Instantly share code, notes, and snippets.

@superjamie
superjamie / 8BitDoUltimate2Wireless.md
Created July 24, 2025 10:49 — forked from barraIhsan/8BitDoUltimate2Wireless.md
8BitDo Ultimate 2 Wireless on GNU/Linux, SteamOS, and Windows

Most of the source comes from: Steam Beta Forum

Thank you so much to everyone in the forum for contributing, for reaching out to 8BitDo to request switching between XInput/DInput/Switch mode on the dongle, to Valve for adding support on DInput mode, to the SDL developers (and 8bitdo) for adding support on DInput mode, and finally, to the Linux kernel developers for adding support on XInput mode.

This gist summarizes everything from that forum.

Switching Mode

So after the latest firmware update (as the time of writing: Controller 1.06, Adapter 1.04), its now possible to switch to DInput and Switch mode by holding B (DInput) or Y (Switch) while turning on t

@superjamie
superjamie / 8BitDoUltimateWifi_Linux.MD
Created July 24, 2025 10:49 — forked from ammuench/8BitDoUltimateWifi_Linux.MD
8BitDo Ultimate 2.4GHz wifi working in linux
@superjamie
superjamie / iso2chd.sh
Created December 17, 2023 00:06
iso2chd - Bash script to convert ISO to CHD
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 ISO|CUE"
echo " Converts input file to same-name CHD"
exit
fi
if ! [ -x "$(which chdman)" ]; then
echo "ERROR: Need chdman. Install mame-tools."
@superjamie
superjamie / 2022-11-06-sdl-fullscreen-scaling.md
Last active November 10, 2022 05:49
How to do SDL 2D Fullscreen and Scaling
@superjamie
superjamie / 2022-11-04-c-static-analysis-tools-part-2.md
Last active November 10, 2022 05:49
C Static Analysis Tools - Part 2
@superjamie
superjamie / 2022-08-06-ncursesw.md
Last active November 10, 2022 05:50
How to ncursesw (as of 2022)
@superjamie
superjamie / 2022-05-24-c-static-analysis-tools.md
Last active November 10, 2022 05:48
C Static Analysis Tools
@superjamie
superjamie / 2022-01-24-raspberry-pi-os-raspbian-bash-ps1-prompt-explained.md
Last active November 10, 2022 05:30
Raspberry Pi OS (Raspbian) Bash PS1 Prompt Explained
@superjamie
superjamie / v700-fashion-gaming-streamer-rgb-keyboard.md
Last active February 1, 2022 23:37
V700 Fashion Gaming Streamer RGB Keyboard

I got one of these cheap keyboards for a laugh:

It's a 61-key keyboard with some Fn function keys like a laptop.

They come with a manual which explains most of the operation but not all.

@superjamie
superjamie / install-ubuntu-luks-lvm.md
Last active May 13, 2025 01:37
How to install Ubuntu with LUKS Encryption on LVM

How to install Ubuntu with LUKS Encryption on LVM

My work requires us to have full-disk encryption, so these are the steps I use.

The basic idea is to create a LUKS-encrypted partition which is used as an LVM Physical Volume.

The GRUB boot partition isn't encrypted, but everything else is.

These steps tested and working on 22.04 (jammy) and 20.04 (focal).