The id_* fields are 16 bits in linux/input.h and we mirror the kernel API here. Even though we accept an int for this fields in ABI the value is truncated at 16 bits. Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>