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

[Feature] Native Mouse & Keyboard support #208

Closed
redphx opened this issue Jan 5, 2024 · 15 comments
Closed

[Feature] Native Mouse & Keyboard support #208

redphx opened this issue Jan 5, 2024 · 15 comments
Labels
enhancement New feature or request

Comments

@redphx
Copy link
Owner

redphx commented Jan 5, 2024

The native Mouse & Keyboard support feature can be disabled by xCloud anytime so I don't want to enable it by default.

If you want to try it, follow these steps:

  1. Open the script in Tampermonkey editor.

  2. Change the ENABLE_NATIVE_MKB_BETA flag to true.

  3. Add the game you want to try to the window.NATIVE_MKB_TITLES list, or remove the // symbols to un-comment that game.

  4. Save the script.

⚠️ There is no guarantee that it will work.

@redphx redphx added the enhancement New feature or request label Jan 5, 2024
@redphx
Copy link
Owner Author

redphx commented Jan 5, 2024

@Usuario6837

@redphx redphx pinned this issue Jan 5, 2024
@igalarey
Copy link

igalarey commented Jan 5, 2024

I thought it was disabled server-side. Is is enabled again?

@redphx
Copy link
Owner Author

redphx commented Jan 5, 2024

I thought it was disabled server-side. Is is enabled again?

Yes it was, but it doesn't hurt to try

@Usuario6837
Copy link

It's sad to see someone who managed to activate the native keyboard for games and then xCloud deactivates this function, in my view Microsoft could just buy the source code, leaving that aside I'll test what you said

@igalarey
Copy link

igalarey commented Jan 5, 2024

I tried some games and it only worked on flight simulator for me.

@redphx
Copy link
Owner Author

redphx commented Jan 6, 2024

It's sad to see someone who managed to activate the native keyboard for games and then xCloud deactivates this function, in my view Microsoft could just buy the source code, leaving that aside I'll test what you said

xCloud developed this feature, all I do is enabling it.

@AngusDLX
Copy link

AngusDLX commented Jan 7, 2024

Enabling it to true doesn't seem to work. At least here, the Xcloud interface doesn't even change to show the keyboard and mouse symbol.

Redphx is this expected? Flight simulator is on the list below in the code but it doesn't work. Is it necessary to remove the \ //?

I had success using your test version but I formatted my disk and lost it. I went to issue 98 to try to download again but it won't download

@redphx
Copy link
Owner Author

redphx commented Jan 7, 2024

@AngusDLX you need to remove the // to un-comment the line

@CodeZerou
Copy link

How do I add and test more games? I mean, the game code as there are a few.

@NasiWaarteG
Copy link

NasiWaarteG commented Jan 13, 2024

what do you mean by add the game you want to try to the window.NATIVE_MKB_TITLES list? should i write the name of the game or the code of the game? example fortnite?

@LuizH2409
Copy link

How do I find out the code of the games? for example, 9NG07QJNK38J it's the Among Us' code

@redphx
Copy link
Owner Author

redphx commented Jan 21, 2024

Since version 3.0.5 it's no longer required to enable the MKB feature in the Settings UI, just setting ENABLE_NATIVE_MKB_BETA flag to true is enough.

Repository owner deleted a comment from heitor231233 Feb 9, 2024
@vresade
Copy link

vresade commented Mar 16, 2024

how can i add fortnite to the list?

@Zooen7
Copy link

Zooen7 commented Mar 17, 2024

Bom

@redphx
Copy link
Owner Author

redphx commented Apr 3, 2024

xCloud now has official native MKB support

@redphx redphx closed this as completed Apr 3, 2024
@redphx redphx unpinned this issue Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants