Skip to content

Commit

Permalink
Enable XBox Controller connection via USB
Browse files Browse the repository at this point in the history
  • Loading branch information
hzmmohamed committed Dec 13, 2024
1 parent e41f28f commit b41d8ed
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,6 @@ fwcd.kotlin --> Install and configure paths for JDK and stuff or disable those f
- Add clamav
- Quick workflow to get the transcription of a video into an Obsidian note, and start editing.
- Run an LLM locally and fine tune it on a TfC report.


create alias for docker delete all images
32 changes: 32 additions & 0 deletions modules/nixos/suites/games/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,35 @@ in {
true; # Open ports in the firewall for Source Dedicated Server
};

# Configure wired XBox Controller
hardware.xone = enabled;


# Configure wireless bluetooth controller (Failed attempt)
# Refs:
# https://www.reddit.com/r/linux_gaming/comments/smxqm2/how_to_use_xpadneo_with_an_xbox_series_controller/

# hardware.bluetooth.settings = {
# General = {
# Privacy = "device";
# JustWorksRepairing = "always";
# Class = "0x000100";
# FastConnectable = true;
# # ControllerMode = "bredr";
# };

# LE = {
# MinConnectionInterval = 7;
# MaxConnectionInterval = 9;
# ConnectionLatency = 0;
# };

# GATT = {
# ReconnectIntervals = "1,1,2,3,5,8,13,21,34,55";
# AutoEnable = true;
# };
# };

# TODO: Replicate this in common desktop configuration
hardware.opengl = {
enable = true;
Expand All @@ -33,6 +62,9 @@ in {
};

environment.systemPackages = with pkgs; [

evtest-qt # GUI Controller tester

# Lutris
lutris
# Needed for some installers like League of Legends
Expand Down

0 comments on commit b41d8ed

Please sign in to comment.