This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<Alias targetDevice1="Logitech G923 TRUEFORCE Racing Wheel PS USB" | |
targetDevice2="Logitech G923 TRUEFORCE Racing Wheel PS" | |
targetProductGuid="{C266046D-0000-0000-0000-504944564944}"> | |
<Axis axis="x" name="Steering" /> | |
<Axis axis="y" name="Gas" /> | |
<Axis axis="rz" name="Brake" /> | |
<Axis axis="slider:0" name="Clutch" /> | |
<Button number="1" name="X" /> | |
<Button number="2" name="Square" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rails controller concern to enable Devise authentication for ActiveStorage. | |
# Put it in +app/controllers/concerns/blob_authenticatable.rb+ and include it when overriding | |
# +ActiveStorage::BlobsController+ and +ActiveStorage::RepresentationsController+. | |
# | |
# Optional configuration: | |
# | |
# Set the model that includes devise's database_authenticatable. | |
# Defaults to Devise.default_scope which defaults to the first | |
# devise role declared in your routes (usually :user) | |
# |