Closed idupree closed 8 years ago
Hi! Thanks for contributing - I'll have a closer look soon! Cheers
HI @idupree I like your changes, particularly
I'm in favour of them all and your work looks good to me. It looks like there's some overlap between the three pull requests (unless I'm mistaken; I only had a quick look). It would be awesome if you could collect your changes in a single PR after rebasing (as you suggested) and I'll pull it in.
Again, thanks a ton for contributing, much appreciated that you're going that extra mile!
@galaktor This pull request depends on all the others, so all you need to do is merge this one.
For more work: I'd like to add some mouse movement events, but I'm not as sure where to start for that. Do you have thoughts?
@idupree I would have to dig into that question, but I wonder what the linux kernel exposes for you to detect movement events in the first place?
PS sorry for the delay in accepting your PR, I was travelling for a while and didn't get a chance until today. Thanks for the support!
@galaktor Since this is closed now, moving discussion to https://github.com/galaktor/gostwriter/issues/8
This lets you synthesize a mouse click using
key.CODE_BTN_LEFT
. Or other mouse-buttons with otherCODE_BTN_*
.If you prefer a different naming, that is possible. I couldn't name it
key.CODE_LEFT
because that is already taken by the left-arrow key.key.BTN_LEFT
would be fine, though I figured you have something against that naming pattern since it's notkey.KEY_3
for the 3 key. (did the preprocessor interfere?)I can rebase the last two commits if you want an extra-clean commit history.