Game Shell D-Pad = Emulate mouse?

I think you could find this useful. You could rework that script to manage that.