I use Moon+ Reader software to read pdf files on a Sony xperia tablet. Instead of swiping on the screen to scroll the pdf, I would like to use a mouse with scrolling wheel instead to scroll. Is this possible and what do I need? Using 4.2.2.
This answer shows that you can capture touch input from the raw device (`/dev/input/event2') to a file, and then play it back whenever you like. You could then automate an event to play back the captured touch input each time you want to scroll.
If your Xperia tablet is rooted... use an app called Tasker. It is able to emulate to send touch and swipe events to the screen. I have used it in several apps to scroll the screen up. Of course you can use Tasker if the device isn't rooted, but I'm not sure if you can send shell commands.
In Tasker, create a new task, Action category CODE--> RUN SHELL--> input swipe X1 Y1 X2 Y2
You can also use Tasker to send button events to emulate a directional pad. Just send x amount of clicks in order to scroll the appropriate amount of the screen.
Now you just have to figure out how you want to trigger that task to run.
If this works, let me know!