moses-palmer / pynput

Sends virtual input commands
GNU Lesser General Public License v3.0
1.79k stars 248 forks source link

Differentiate middle mouse from the side buttons on macOS #441

Open coderanger opened 2 years ago

coderanger commented 2 years ago

This is almost 100% not something you want to merge directly but it at least captures the plumbing needed to directly access which mouse button the event is for. I think it would probably be better to remove the iteration over the button enum values and use this? But I might be missing something :)

coderanger commented 2 years ago

@moses-palmer Any thoughts?

coderanger commented 2 years ago

Any chance this can be merged?