The title basically explains already everything for you. Why isnt UserInputService registering the ltter “I”??
It registers all the other keys but not the letter “I” for some reason.
Heres a video showing you:
The title basically explains already everything for you. Why isnt UserInputService registering the ltter “I”??
It registers all the other keys but not the letter “I” for some reason.
Heres a video showing you:
It registered “i” just fine. It showed up right before “Unknown” (Which from the video is actually Enter.)
Edit: To clarify, this was when typing in chat.
you right, I noticed the same thing when I tried this out in studio
-- In order to use the InputBegan event, the UserInputService service must be used
local UserInputService = game:GetService("UserInputService")
-- A sample function providing multiple usage cases for various types of user input
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.UserInputType == Enum.UserInputType.Keyboard then
local keyPressed = input.KeyCode
print("A key is being pushed down! Key:",input.KeyCode)
elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
print("The left mouse button has been pressed down at",input.Position)
elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
print("The right mouse button has been pressed down at",input.Position)
elseif input.UserInputType == Enum.UserInputType.Touch then
print("A touchscreen input has started at",input.Position)
elseif input.UserInputType == Enum.UserInputType.Gamepad1 then
print("A button is being pressed on a gamepad! Button:",input.KeyCode)
end
if gameProcessed then
print("\tThe game engine internally observed this input!")
else
print("\tThe game engine did not internally observe this input!")
end
end)
^this also doesn’t register “i”, I think Roblox just has a bug, nothing you can do about it I guess.
Because “i” is a Roblox keybind: for zooming in:
Weird. It doesnt register it when youre not typing
To be honest, I don’t think this is the answer mostly because there are so many other keys that are keybinds for something, but they still register. (I’m pretty sure it’s just a bug Roblox needs to fix)
ContextActionService takes priority over UserInputService because UserInputService is used as a last catch-all. Since many (all?) Roblox actions use ContextActionService rather than UserInputService, UIS doesn’t get the input.