Add support for input modes (XInput & Direct Input)

# Input Mode Support

## Auto detect input mode

````javascript
Joystick.create("/dev/input/js0", function () {});
````

## Specify input mode

### XInput

````javascript
Joystick.create("/dev/input/js0", "xinput", function () {});
````

### Direct Input

````javascript
Joystick.create("/dev/input/js0", "direct input", function () {});
````