hidtest: Make a lot of the input/feature report reading code common. (dm)
hidtest: Make a lot of the input/feature report reading code common. (dm)

brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty