I've put up a new version. The triggers can now be remapped with rtrigger and ltrigger and the mouse/joystick buttons with button1 and button2. Also, mouse or joystick mode can be selected from the command line with "inputmap analog <mouse/joystick>" and remapped keys now repeat properly....