Closed liftoff closed 10 years ago
A couple of issues I'd like to see fixed before I merge this:
datetime
, it's much slower than just using time.time
.if name in (ecodes.REL_WHEELUP, ecodes.REL_WHEELDOWN):
... the scroll wheel stuff here
else:
... move the other mouse stuff here
self._write_cache
, create new a dict for each storage need.self._write_cache[name+1000]
, shouldn't triggering the key repeat via time be smoother?OK I'll take care of that stuff. No problem.
As for triggering key repeat based on time: I forget why I did it that way, LOL. It was late. Your way is probably better :smile:
uinput.py: Added support for emulating a mousewheel (up or down). uinput.py: Added support for trailing comments in ds4drv.conf files. ds4drv.conf: Added scroll wheel emulation example.