Skip to content
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

MFI controller (Razer Kishi) not working and virtual mouse issues #9

Open
jm2 opened this issue Feb 20, 2022 · 5 comments
Open

MFI controller (Razer Kishi) not working and virtual mouse issues #9

jm2 opened this issue Feb 20, 2022 · 5 comments

Comments

@jm2
Copy link

jm2 commented Feb 20, 2022

It looks like two issues may have developed since the last time this was worked on:

  1. The Razer Kishi MFI controller is not recognized at all. Not sure if it's specific to this controller or if MFI support in general broke somewhere down the line.
  2. When a game is paused, the mouse pointer for selecting menu items does not map to touch locations on the iPhone XS at all, making menu operating impossible and requiring a force quit and restart.

Other than that I've been pretty happy with the port. I agree that the touch controls could do with two joysticks instead of one, but if the MFI support leverages two joysticks then I don't care quite as much :)

@tomkidd
Copy link
Owner

tomkidd commented Feb 25, 2022

I'll check it out on the hardware I have. I've only got a couple of controllers, neither is a Razer Kishi, but I can at least make sure basic MFi support still works.

Here's the deal with the game paused in menu - the way I'm able to get the mouse cursor working with the touch screen is to have a modified version of the .qvm files that is aware of absolute positioning. The problem is, once you're in a game if you're connected to a Pure Server (including, I'm guessing, ones you spin up yourself with bots) it falls back to the qvm that ships with the game since it matches the ones everyone else has. That qvm doesn't have the absolute positioning code.

I can look into making a bot match from the Cocoa Touch menus be non-pure, otherwise it's something you can do within the game's UI itself.

@jm2
Copy link
Author

jm2 commented Feb 25, 2022

Good to know, thanks. For what's it's worth I was seeing the pause menu behavior specifically on single player matches created from the main menu, but it's possible those are set up as pure games by default as well since they're just nicely wrapped multiplayer bot matches.

Thanks for checking on the MFi support!

@henning77
Copy link

My MFi controller (XBox Wireless Controller) does not seem to work as well with Quake3-iOS (works in other games). Is there anything else I need to do to get the controller working, do I need to switch input method from touch controls to MFi? I am on iOS 15.6.1.

@retrography
Copy link

retrography commented Jan 7, 2024

Any hope for this getting fixed? My XBox controller dosn't work either (tvOS). It works in the launch menu, but not inside the game.

@indvd00m
Copy link

indvd00m commented Aug 1, 2024

Same problem - xbox wireless controller does not working in a game. I tried to add capability "Game Controllers" to target like in this documentation https://developer.apple.com/news/?id=hk2u622s, but this is not changed situation. When I press Back or Start controller buttons I can see this lines in debug console:

Found no UIEvent for backing event of type: 3; contextId: 0xA5F5D2E3
Found no UIEvent for backing event of type: 3; contextId: 0xA5F5D2E3

When I am press any other controller buttons nothing happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants