From 75bc12405ab40983848119d36e1ae7d900f0f7bd Mon Sep 17 00:00:00 2001 From: Zeckmathederg Date: Mon, 10 Jun 2024 01:53:40 -0600 Subject: [PATCH] Added Quality of Life chapter, and more. Also added more gamepad kernel options. --- book/organization.xml | 10 +++++++++- index.xml | 1 + introduction/welcome/changelog.xml | 6 ++++++ introduction/welcome/which.xml | 7 ++++++- kernel-config/qol/gamepad.toml | 15 +++++++++++++-- qol/gamepad-kernel.xml | 23 +++++++++++++++++++++-- qol/gamepad.xml | 4 ++-- qol/qol.xml | 15 +++++++++++++++ qol/qolintro.xml | 23 +++++++++++++++++++++++ shareddeps/drivers/nvidia.xml | 6 ++++++ 10 files changed, 102 insertions(+), 8 deletions(-) diff --git a/book/organization.xml b/book/organization.xml index 1b4e122d86..d7fb15328d 100644 --- a/book/organization.xml +++ b/book/organization.xml @@ -12,7 +12,7 @@ Organization - This book is divided into the following 6 sections: + This book is divided into the following 7 sections: Part I - Introduction @@ -59,6 +59,14 @@ Wine and configure it. + Part VI - Quality of Life + + + This section goes over quality of life improvements and packages + to improve the experience with the system after following the main + part of the book. + + Appendices diff --git a/index.xml b/index.xml index a869fe2ae6..232a55b763 100644 --- a/index.xml +++ b/index.xml @@ -19,6 +19,7 @@ $Date$ + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 0fb3e9f65e..30ce339926 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -42,6 +42,12 @@ June 10th, 2024 + + [Zeckmathederg] - Added Quality of Life chapter, and more. + + + [Zeckmathederg] - Added kernel-config, gamepad.xml, and qol. + [Zeckmathederg] - Changed GLFS copyright date to just 2024. diff --git a/introduction/welcome/which.xml b/introduction/welcome/which.xml index e42e815078..36e82f900c 100644 --- a/introduction/welcome/which.xml +++ b/introduction/welcome/which.xml @@ -67,7 +67,7 @@ - The last chapter that most users will need is Wine. Likewise + The following chapter that most users will need is Wine. Likewise with the Steam chapter, users should follow every step in this chapter if they want to install Wine and use it. The Wine chapter at the moment does not consider @@ -79,6 +79,11 @@ to avoid duplicate sections. + + The last chapter covers quality of life improvements and packages. + This chapter is not required but recommended. + + We hope you enjoy using GLFS. May you realize that LFS can provide you of your gaming needs! diff --git a/kernel-config/qol/gamepad.toml b/kernel-config/qol/gamepad.toml index 271c1e8ae5..c43097c3b3 100644 --- a/kernel-config/qol/gamepad.toml +++ b/kernel-config/qol/gamepad.toml @@ -1,4 +1,15 @@ +USB_SUPPORT="*" HID_SUPPORT="*" HID="*M" -HID_NINTENDO= { value = " *", comment = "For Nintendo gamepad support" } -NINTENDO_FF="* " +INPUT="*" +INPUT_JOYSTICK="*" +JOYSTICK_GAMECON = { value = "*", comment = "For older gamepads" } +JOYSTICK_XPAD = { value = "*", comment = "For Xbox gamepad support" } +JOYSTICK_XPAD_FF=" *" +JOYSTICK_XPAD_LEDS=" *" +HID_NINTENDO = { value = "*", comment = "For Nintendo gamepad support" } +NINTENDO_FF=" *" +HID_WIIMOTE=" *M" +HID_SONY = { value = "*M", comment = "For Playstation gamepad support" } +SONY_FF=" *" +HID_STEAM = { value = "*", comment = "For Steam controllers" } diff --git a/qol/gamepad-kernel.xml b/qol/gamepad-kernel.xml index e15e116d42..1671816c28 100644 --- a/qol/gamepad-kernel.xml +++ b/qol/gamepad-kernel.xml @@ -4,9 +4,28 @@ Device Drivers ---> + Input device support ---> + <*> Generic input layer (needed for keyboard, mouse, ...) [INPUT] + [*] Joysticks/Gamepads ---> [INPUT_JOYSTICK] + # For older gamepads: + <*> Multisystem, NES, SNES, N64, PSX joysticks and gamepads + ... [JOYSTICK_GAMECON] + # For Xbox gamepad support: + <*> Xbox gamepad support [JOYSTICK_XPAD] + [ /*] Xbox gamepad rumble support [JOYSTICK_XPAD_FF] + [ /*] LED Support for the Xbox 360 controller Guide button + ... [JOYSTICK_XPAD_LEDS] [*] HID bus support ---> [HID_SUPPORT] <*/M> HID bus core support [HID] Special HID drivers ---> # For Nintendo gamepad support: - < /*> Nintendo Joy-Con, NSO, and Pro Controller support [HID_NINTENDO] - [ /*] Nintendo Switch controller force feedback support [NINTENDO_FF] + <*> Nintendo Joy-Con, NSO, and Pro Controller support [HID_NINTENDO] + [ /*] Nintendo Switch controller force feedback support + ... [NINTENDO_FF] + # For Playstation gamepad support: + <*/M> Sony PS2/3/4 accessories [HID_SONY] + [ /*] Sony PS2/3/4 accessories force feedback support [SONY_FF] + # For Steam controllers: + <*> Steam Controller/Deck support [HID_STEAM] + < /*/M> Nintendo Wii / Wii U peripherals [HID_WIIMOTE] + [*] USB support ---> [USB_SUPPORT] diff --git a/qol/gamepad.xml b/qol/gamepad.xml index eee6e78aed..035d4df18b 100644 --- a/qol/gamepad.xml +++ b/qol/gamepad.xml @@ -1,7 +1,7 @@ + %general-entities; ]> @@ -22,7 +22,7 @@ Now you should be able to plug in your gamepad and play. If you want to use - the gamepad wirelessly, you will need to connect in via Bluetooth. You can + the gamepad wirelessly, you will need to connect it via Bluetooth. You can enable Bluetooth by following the BLFS page BlueZ if you haven't already compiled it. If you have chosen to install a desktop environment, if not diff --git a/qol/qol.xml b/qol/qol.xml index e69de29bb2..d4f537ca0d 100644 --- a/qol/qol.xml +++ b/qol/qol.xml @@ -0,0 +1,15 @@ + + + %general-entities; +]> + + + + + Quality of Life + + + + diff --git a/qol/qolintro.xml b/qol/qolintro.xml index e69de29bb2..c5d6fa45da 100644 --- a/qol/qolintro.xml +++ b/qol/qolintro.xml @@ -0,0 +1,23 @@ + + + %general-entities; +]> + + + + + + Quality of Life + + + Now that you have installed Steam, + Wine, or both, you may be satisfied with your current setup. + However, there are some quality of life improvements that may be of use to + you. This chapter goes through a handful of those improvements. + + + + + diff --git a/shareddeps/drivers/nvidia.xml b/shareddeps/drivers/nvidia.xml index 9befa6b7a4..ba9219f89b 100644 --- a/shareddeps/drivers/nvidia.xml +++ b/shareddeps/drivers/nvidia.xml @@ -98,6 +98,12 @@ + + First enable XFree86 DRI support in the kernel and recompile if necessary. + + + + Install x86 NVIDIA by running the following commands as the root user: