#Rebinding Shiftlock for Gamepad/Console

1 messages · Page 1 of 1 (latest)

viscid edge
#

So, I already know how to do this for PC, as shown below:


local KEYS = "LeftControl,RightControl"

local mouseLockController = Players.LocalPlayer
    .PlayerScripts
    :WaitForChild("PlayerModule")
    :WaitForChild("CameraModule")
    :WaitForChild("MouseLockController")

local obj = mouseLockController:FindFirstChild("BoundKeys")
if obj then
    obj.Value = KEYS
else
    obj = Instance.new("StringValue")
    obj.Name = "BoundKeys"
    obj.Value = KEYS
    obj.Parent = mouseLockController
end```

But I have NO idea to to do this for console, putting "DPadUp" does NOT work.
viscid edge
#

💔

unique stag
#

read the script you're messing with

#
local mouseLockController = Players.LocalPlayer
    .PlayerScripts
    :WaitForChild("PlayerModule")
    :WaitForChild("CameraModule")
    :WaitForChild("MouseLockController")``` this is a script, try reading it
viscid edge