[PATCH] winebus.sys: Include dev/evdev/input.h

Rémi Bernon rbernon at codeweavers.com
Mon Oct 18 02:23:28 CDT 2021


On 10/17/21 11:10 PM, Gerald Pfeifer wrote:
> Commit de7032816bd71d0edda30a78721e79b5b6af735c added the use of
> BUS_BLUETOOTH which on GNU/Linux comes from linux/input.h. Also check
> for dev/evdev/input.h to support other platforms such as FreeBSD.
> 
> Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
> ---

Thanks, I was wondering whether we should define this constant instead, 
or use HAS_PROPER_INPUT_HEADER to guard it too. Then I believe I found 
some references in some FreeBSD port files, but I probably missed that 
it needed a specific include.

Is this header file also providing other defines like SYN_DROPPED, 
EVIOCGBIT, EV_ABS or BTN_PINKIE? Would it be better if we do as with 
SYN_DROPPED and define it if it's not?
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list