Mick, I've not much experience in bitshifting either. I just found some similar code elsewhere and understood it enough to reuse it with minimal changes.
Thanks for pointing out my errors above, they are corrected and clarified (BTW my ps: was related to the one left x value that is only shifted and not ANDed - the odd one out in my joystick code)
As for what to do with all this I personally think it's a can of worms. We're never going to please everybody and we could quite easily make the emulator tricky to configure.
I'd imagined a menu option that would be something like "left analog" with values of "joystick" or "mouse". It'd be nice if Select was a shortcut for that, but not essential.
I think that's going to be tricky enough even without going into a more complete "mapping mode" menu. Though I understand it would be nice to be able to define keys for buttons for the other buttons.
(Having an easier to navigate virtual keyboard would be higher up my list compared to full button mapping support)
PS3 3.55geohot, SMS on PStwo, XBMC on Xbox. Cross Battle Adapter: 360 controller on PS3