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

RT & LT keys are not working #32

Open
ragul-lab opened this issue Dec 1, 2024 · 1 comment
Open

RT & LT keys are not working #32

ragul-lab opened this issue Dec 1, 2024 · 1 comment

Comments

@ragul-lab
Copy link

I'm trying to figure out RT & LT key functionalities but unable to find it. What is the actual XUSB button and how to use it?

@yannbouteiller
Copy link
Owner

yannbouteiller commented Dec 3, 2024

I think you are looking for something like

gamepad.left_trigger_float(value=0.5)
gamepad.press_button(button=vg.XUSB_BUTTON.XUSB_GAMEPAD_LEFT_SHOULDER)
gamepad.update()

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