usb hid: move head+n to common struct