Skip to content

Instantly share code, notes, and snippets.

View riskable's full-sized avatar

Riskable riskable

View GitHub Profile
@riskable
riskable / rocket_league_controller_fix.sh
Created January 6, 2017 20:18
A script to work around the "Player 2" game controller bug in the Linux version of Rocket League
#!/bin/bash
#
# Author: Riskable
#
# License: CC0 (public domain)
#
# Description:
#
# This script will temporarily disable (for a few seconds) any attached USB
# mice that also support emulating a joystick (the type that messes up game
@riskable
riskable / main.rs
Last active November 20, 2022 23:20
Multi-core Rust example on rp2040 with RTIC (on one core)
// This is just a subsection of the code (the parts relevant to multi-core stuff)
// It won't "just work"
use rp2040_hal as hal;
use hal::multicore::{Multicore, Stack};
use hal::pac;
use hal::sio::Sio;
use heapless::spsc::Queue;
// These are markers are used to indicate the beginning and end
@riskable
riskable / Cargo.toml
Created February 26, 2024 20:27
keystoked Cargo.toml
[package]
name = "keystoked"
version = "0.1.0"
edition = "2021"
[features]
default = []
defmt = []
encoders = ["keystoked-config/encoders", "keystoked-builder/encoders"]
lighting = ["keystoked-config/lighting", "keystoked-builder/lighting"]