From 6211ea6005a9d4725a0e1e6e53d0f0cbdd3c4495 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 13 Aug 2022 11:47:10 +0200 Subject: [PATCH] games: Blacklist hid_nintendo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It does not work with my 8BitDo Pro 2. Disabling the kernel module makes it work with SDL’s hidraw driver. --- modules/games.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/games.nix b/modules/games.nix index 98e9735..19f3966 100644 --- a/modules/games.nix +++ b/modules/games.nix @@ -19,5 +19,9 @@ in default = 1; }; }; - config = lib.mkIf cfg.enable { }; + config = lib.mkIf cfg.enable { + boot.blacklistedKernelModules = [ + "hid_nintendo" + ]; + }; }