[Fedora-spins] [spin-kickstarts] Games: Allow joysticks and game pads to work
Bruno Wolff III
bruno at fedoraproject.org
Sat Jul 21 13:19:01 UTC 2012
commit 776252e75ab84cd05243d4fa9a3be3c6ea79701b
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sat Jul 21 08:18:15 2012 -0500
Games: Allow joysticks and game pads to work
fedora-livedvd-games.ks | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/fedora-livedvd-games.ks b/fedora-livedvd-games.ks
index 7e91988..4a7b847 100644
--- a/fedora-livedvd-games.ks
+++ b/fedora-livedvd-games.ks
@@ -16,6 +16,9 @@ part / --size 10240
-wine
+# Support for joysticks and game pads is now in kernel-modules-extra
+kernel-modules-extra
+
# games
# traditional (big)
@@ -194,3 +197,14 @@ games-menus
-autodownloader
%end
+
+%post
+# Load drivers needed for joysticks and game pads so they work out on
+# the live image without futzing where possible.
+cat > /etc/modules-load.d/joystick.conf << EOF
+joydev
+analog
+EOF
+chmod 755 /etc/modules-load.d/joystick.conf
+
+%end
More information about the spins
mailing list