-
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #418 from Quenty/users/quenty/ps5
PS5 support
- Loading branch information
Showing
9 changed files
with
196 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
45 changes: 45 additions & 0 deletions
45
src/sprites/src/Shared/InputImageLibrary/Spritesheets/PlayStation/Dark.lua
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--[[ | ||
Generated PS5Dark with Python | ||
@class PS5Dark | ||
]] | ||
|
||
local parent = script:FindFirstAncestorWhichIsA("ModuleScript") | ||
local require = require(parent.Parent.loader).load(parent) | ||
|
||
local Spritesheet = require("Spritesheet") | ||
|
||
local PS5Dark = setmetatable({}, Spritesheet) | ||
PS5Dark.ClassName = "PS5Dark" | ||
PS5Dark.__index = PS5Dark | ||
|
||
function PS5Dark.new() | ||
local self = setmetatable(Spritesheet.new("rbxassetid://15030465512"), PS5Dark) | ||
|
||
self:AddSprite("DPad", Vector2.new(0, 0), Vector2.new(100, 100)) | ||
self:AddSprite("Microphone", Vector2.new(100, 0), Vector2.new(100, 100)) | ||
self:AddSprite("Options", Vector2.new(200, 0), Vector2.new(100, 100)) | ||
self:AddSprite("OptionsAlt", Vector2.new(300, 0), Vector2.new(100, 100)) | ||
self:AddSprite("ShareAlt", Vector2.new(400, 0), Vector2.new(100, 100)) | ||
self:AddSprite("Thumbstick1_Click", Vector2.new(500, 0), Vector2.new(100, 100)) | ||
self:AddSprite("Thumbstick2_Click", Vector2.new(600, 0), Vector2.new(100, 100)) | ||
self:AddSprite("TouchPad", Vector2.new(700, 0), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonA, Vector2.new(800, 0), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonB, Vector2.new(900, 0), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonL1, Vector2.new(0, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonL2, Vector2.new(100, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonR1, Vector2.new(200, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonR2, Vector2.new(300, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonSelect, Vector2.new(400, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonX, Vector2.new(500, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.ButtonY, Vector2.new(600, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.DPadDown, Vector2.new(700, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.DPadLeft, Vector2.new(800, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.DPadRight, Vector2.new(900, 100), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.DPadUp, Vector2.new(0, 200), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.Thumbstick1, Vector2.new(100, 200), Vector2.new(100, 100)) | ||
self:AddSprite(Enum.KeyCode.Thumbstick2, Vector2.new(200, 200), Vector2.new(100, 100)) | ||
|
||
return self | ||
end | ||
|
||
return PS5Dark |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
Oops, something went wrong.