Button conflict

how can i stop a menu from being opened by a controller only want keyboard support its M right now and can be opened by pressing back or select on a controller

Utilize a 3rd party controller key remapping software or rewrite the scripts to work for both keyboard and controller support (or to only accept keyboard input, if that’s your provocative).

the script already works for both keyboard and controller but want to remove controller support so you gotta use a keyboard to press the button just not sure how to stop it from allowing controller binds

if GetLastInputMethod(2) then -- Only executes the following if the Input came from a Keyboard or Mouse
	-- YOUR_CODE_HERE
end
3 Likes