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

Error when loading script into QtScrcpy #2

Open
Ashaxer opened this issue Sep 17, 2024 · 2 comments
Open

Error when loading script into QtScrcpy #2

Ashaxer opened this issue Sep 17, 2024 · 2 comments

Comments

@Ashaxer
Copy link

Ashaxer commented Sep 17, 2024

"json error: no find switchKey"...

@Ashaxer
Copy link
Author

Ashaxer commented Sep 17, 2024

Did some modification to the output Json file, I managed to fix the file by adding this to the main key:

	"switchKey": "Key_QuoteLeft",
	"mouseMoveMap": {
		"startPos": {
			"x": 0.722656,
			"y": 0.456772
		},
		"speedRatioX": 10,
		"speedRatioY": 5.625,
		"smallEyes": {
			"comment": "free look",
			"type": "KMT_CLICK",
			"key": "Key_QuoteLeft",
			"pos": {
				"x": 0.7375,
				"y": 0.334286
			},
			"switchMap": false
		},
		"speedRatio": 10
	},

and also fixed buttons by adding this to each button property (Except WASD):

"switchMap": false

@CodeXTF2
Copy link
Owner

oh hey was busy sorry didnt see this, feel free to open a PR with your fixes! :D

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

2 participants