[PATCH evdev] type-safe inline functions for bitmask manipulation

Chase Douglas chase.douglas at canonical.com
Mon Oct 17 11:12:08 PDT 2011

On 10/17/2011 03:12 AM, Max Schwarz wrote:
> We can't use BitIsSet/SetBit from the server (inputstr.h) since they
> operate on byte arrays. EvdevSetBit is added in preparation for the
> "smooth-scrolling on wheel emulation" patch.
> Signed-off-by: Max Schwarz <Max at x-quadraht.de>

Have you looked into switching the evdev bit arrays from longs to bytes
so we can standardize on one type of bit array?

I should have piped up earlier, so I don't think it's fair to make this
a requirement for satisfying before merging. If it is possible, we could
also fix it up later.

-- Chase

More information about the xorg-devel mailing list