- Added Gyroscope and accelerometer support. Now the 3DS sends the data of the Gyroscope
and accelerometer to the IP address
- Now the python script uses `python-evdev` instead of `python-uinput`.
It support more EVENTS and INPUT_PROPS, so the gyroscope and
accelerometer is identified as an gyro and accel device. Just like the
DualShock linux driver (hid-playstation.c)
- Python script has now a debug variable, if it's enabled it will show
some debug info, like the state of the keys and sensors X,Y,Z
positions.
- Added some explanations on the python script to make development more
easier (Mostly for myself)
Added Clamp function to general.c
Now clamps all final joystick values to be from 0 - 32767 (2^15 - 1).
Output from the 3ds was giving a strange range on the values, even though the
code expected it to be in the range -128 to 128.
Was more like -146 to 146 on the c-stick, and -170 to 170 on the circle pad.
This may remove some of the resolution of the sticks, but increase compatability with programs.
If I rename the .3ds to a .cxi citra runs it, so I guess that's working?
I don't have any way to test either of them properly though.
Hopefully they work.
The .rsf is from a template provided by daxtsu.
New pref to choose between Pov or Keys for D Pad, making it work
similarly to C Pad, C Stick and Touch.
Will automatically check whether vJoy has 4-way Pov or Continuous Pov
enabled and choose the correct one to output.
Removed the volume display from bottom screen and included some builds.
Maybe not an official version yet since I want to add something, but
we'll see.
It all merged, it compiled and it works. There are 2 separate
implementations of POV switches in this which I haven't sorted out yet,
if that's necessary (1 for each type, it's ok I guess?)
THINGS CHANGED:
- Keyboard is less fuzzy
- Back-light turns off after exiting keyboard mode
- DPad can be configured as a POV Hat
- Screen touches are more accurate when using as a joystick
- When touch is configured as a joystick, untapping will spring the axis to the center
- Changed the config file to be in controller mode
- Volume slider is sent as the "Z" axis in vJoy
The volume slider is now the Z axis and the touchpad (if configured like a joystick) is more accurate. If the touchpad is lifted off of, then the RX and RY axis will center (like taking your thumb off a real joystick)
Also filled in default values for all axes, instead of just unused ones.
buttons 9 - 16 are a bit of a hack but hey it works! As long as the user
configures their vJoy.