-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't type in textfields when running from iOS simulator #27984
Comments
Relevant bit from the logs (not sure what it means): 2024-04-24 10:40:21.292299-0400 osu.iOS[54572:4257604] [HardwareKeyboard] -[UIApplication getKeyboardDevicePropertiesForSenderID:shouldUpdate:usingSyntheticEvent:], failed to fetch device property for senderID (778835616971358209) use primary keyboard info instead.
2024-04-24 10:40:21.305208-0400 osu.iOS[54572:4257604] [HardwareKeyboard] -[UIApplication getKeyboardDevicePropertiesForSenderID:shouldUpdate:usingSyntheticEvent:], failed to fetch device property for senderID (778835616971358209) use primary keyboard info instead. Could you enable SDL3 event logging and then post the output. Just add the following line to the main program: SDL3.SDL_SetHint(SDL3.SDL_HINT_EVENT_LOGGING, "1"u8); |
@Susko3 Doesn't seem like I can do that. I can do the same thing but change it to |
You shouldn't have access to SDL2 on the latest |
Right, I was accidentally on a different branch when I tested it earlier today. Going back to the commit listed in the original comment, I still get a |
You should put that hint in SDL3Window. Check the existing code there for where you might put it. |
Just put it anywhere in the game, like the constructor of |
|
Hold on, I forgot to enable hardware keyboard. Disregard the above logs I started the game, opened the sign in menu, and tried pressing random keys into the username field. |
I presume you're typing with your mac keyboard. What if you instead try to type with the on-screen keyboard in iOS (if that option is available)? I've created an upstream issue: libsdl-org/SDL#9624. Feel free to subscribe to it. |
If I disable hardware keyboard (so that it cannot recognize my macbook keyboard), the software keyboard doesn't show, neither automatically nor manually (via the toggle software keyboard button). The on screen keyboard also does not show if my hardware keyboard is turned on, nether automatically nor manually. |
This will now work as expected once libsdl-org/SDL#11406 is in. |
Type
Game behaviour
Bug description
When running osu! in an iOS simulator, you can't type into textfields. Keybinds like ppp still work, so input is being detected. Typing on other apps like safari works, so it doesn't seem to be an issue with how my xcode/keyboard is set up.
Simulator specs:
My Macbook's specs:
Running osu! master on commit a35bf77
Screenshots or videos
No response
Version
a35bf77
Logs
Since this is an iOS simulator, I can't get the logs folder. I've included the debug logs from the console output
logs.txt
The text was updated successfully, but these errors were encountered: