Skip to content

Instantly share code, notes, and snippets.

View Blahkaey's full-sized avatar

Blahkaey Blahkaey

View GitHub Profile
@NaviVani-dev
NaviVani-dev / dualscope.sh
Last active October 6, 2025 01:07
DualScope: Run two steam instances with gamescope with different user accounts (split screen on any game!)
#!/bin/bash
# a little script i made to open two gamescope sessions of steam
# i SUCK at making bash script, so expect a lot of bugs or issues :<
# made for arch linux in mind
# you need another account on your device to use this
# if u use pipewire and your audio is not working, take a look at this:
# https://wiki.archlinux.org/title/PipeWire#Multi-user_audio_sharing
@artizirk
artizirk / xinput.py
Last active September 30, 2025 17:51
Pure Python implementation for reading Xbox controller inputs without extra libs
#!/usr/bin/env python3
""" XInput Game Controller APIs
Pure Python implementation for reading Xbox controller inputs without extra libs
Copyright (C) 2020 by Arti Zirk <arti.zirk@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted.