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@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?