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

Setting a scythe pedal as media play/pause #99

Open
AtaGunZ opened this issue Oct 30, 2024 · 1 comment
Open

Setting a scythe pedal as media play/pause #99

AtaGunZ opened this issue Oct 30, 2024 · 1 comment

Comments

@AtaGunZ
Copy link

AtaGunZ commented Oct 30, 2024

Hello, I am trying to set my scythe pedal as a play/pause button. I found the following:
Usage Page: 0x0C (Consumer Control)
Usage ID: 0xCD (Play/Pause)

but I am not sure how to specify this with the scythe command. Is this even possible?

@AtaGunZ
Copy link
Author

AtaGunZ commented Nov 4, 2024

my very cursed, trial and error solution was manually changing the compile_mouse_button() to write
pedals[curr_pedal].keys[0].mod = 0xd0;
pedals[curr_pedal].keys[0].code = 3;

no idea why/how it worked, but after running the scythe2 command with -1 -b mouse_left, my pedal now sends the KEY_PLAYPAUSE signal I wanted

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

1 participant