Allow various block_size

input_event struct is 24 bytes on 64-bits kernels