Adding Quirks¶
Hardware Quirks¶
Adding hardware quirks are simple, and many examples can be found in https://github.com/SteamFork/distribution/tree/main/PKGBUILD/steamfork-device-support/src/etc/lib/steamfork_hwsupport/devicequirks
. A UI tool is provided with SteamFork that can be used to generate a simple quirk for a new device.
Creating a Quirk¶
To create a quirk using the UI, open a konsole session in desktop mode and execute steamfork-quirk-generator-ui
. Make your desired selections and press OK. The tool will generate a quirk for your device based on your selections and then reboot.
Manual Quirk Generation¶
If you would prefer to manually generate a simple quirk, the steamfork-quirk-generator
tool is also available. For example, to generate a quirk for AYANEO Air devices, execute it with the following options.
/usr/bin/steamfork-quirk-generator --gamescope_rotation left --desktop_rotation left --gamescope_resolution 1280x720 --gamescope_displaysize 1280x720
Save the quirk to the directory provided in the output and reboot the device.
Additional Quirks¶
Your device may need additional quirks to function correctly or for optimization.
Submit Your Quirk¶
Please follow the instuctons for Building and Contributing to submit your quirks to the distribution for inclusion. Please do not change major functionality of the distribution as upstream compatibility is a primary goal of SteamFork, submissions that do not follow our standards will need to be revised.
Note: If you would like to generate a kernel panel rotation patch, please ping a developer in the SteamFork discord for assistance, as the package build tools are intended to run on devices running SteamFork and upload to the official repo by default.