Raphael Yancey

Results 20 comments of Raphael Yancey

I was going to fill the same issue. Pushing [shift](to get the "." in azerty keyboards) make the key combination disappear, and so the cheat can't work.

Hi @beaconIOT, You would use the following code: ```python my_encoder = pyky040.Encoder(device='/dev/input/event0') ``` Check https://python-evdev.readthedocs.io/en/latest/usage.html#listing-accessible-event-devices to list your devices if `event0` is not working. Please confirm if it worked so...

Oh I'm sorry I've read too fast. Unfortunately you're right, the switch feature is not working in device mode ([code](https://github.com/raphaelyancey/pyKY040/blob/master/pyky040/pyky040.py#L161-L167)). I'll take a look at it but don't count on...

Thanks for the PR @Bcow7! Is there a reason you got rid of [this line](https://github.com/raphaelyancey/pyKY040/pull/5/files#diff-29e3c5b5eccf0e5751cbe3398269e73dL57) ? If you don't use `initial_pos` then you still would want it to be set...

My bad, that's on me — `self.counter` is initialized to `0` at the instanciation. So you were right, you can get rid of the line. Since your first commit I've...

Thanks for the PR @dhlalit11. I think the lib should stay agnostic of its use cases, but indeed the volume control is a classic. Maybe put it as the first...

I'm currently working on a rewrite of the library using Linux device tree. It's got an instant response and doesn't miss anything anymore. Downsides are that there will be a...

@SebDominguez I just tested the code, and it seems it's your pins choice that is causing trouble. Try with `CLK=26, DT=4, SW=21` and tell me what you get. If it's...

You're right it did work on the radio, but somehow I also got erratic behavior with these pins on a RPi 3B with Raspbian Buster. Maybe something has changed (kernel,...

If you still experience the issue after changing pins, I updated the library on the [evdev](https://github.com/raphaelyancey/pyKY040/tree/evdev) branch with the new `device` mode. I'd love some feedback when you'll have the...