ts_uinput: write only one input_event at a time
ts_uinput: write only one input_event at a time

Older kernels (on Android, specifically v3.10.53) seem to have a problem when
writing multiple input event structs to uinput at once. We actually don't
need to, hence we now loop.

reported by licheegh over at https://github.com/kergoth/tslib/issues/117

kergoth/tslib,kergoth/tslib,kergoth/tslib,kergoth/tslib