Thread: [Announce] gpSP
View Single Post
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#291
Originally Posted by Jarvis View Post
Is there possible to add wifi battle support to gpSP?
I don't have the knowledge to implement this by myself, but this certainly is an interesting feature. A few years ago there was an effort to add multiplayer in a fork of gpSP, but as far as I know, nothing came out of it. Maybe one distant day I'll sit down, learn GBA, and give it a try.


Originally Posted by misiak View Post
If the program is being run as user, that command would need to be run via "sudo" (so "sudo kernel-config..."), as kernel-config should be run by superuser, maybe that's the case?
Strangely it works without sudo for me.


Originally Posted by Estel View Post
I have one maemo-specific feature request, that (I hope) shouldn't be hard nor time consuming to implement, yet would be *very* usefull to have:
It's about expanding a little (already present in gpsp) accelerometer support.
Finally I've got some free time for Maemo, but I had to send my laptop for repairs. However, I've managed to borrow another one for a while and do some work on the accelerometer. I am not sure if flipped axes and arbitrary buttons are worth the effort, so I've implemented only basic configurability for now.

This is the changelog for gpspm 3.1.6:
  • Allow D-pad diagonals to cancel each other out.
  • Fixed accelerometer input in portrait mode.
  • More sophisticated accelerometer handling.
  • Configurable accelerometer options.

...and the GUI:
  • Added accelerometer calibration dialog.

With diagonals canceling each other out, it is possible to bind only the diagonal directions to keyboard keys (e.g. A, S, Z, X) and still have full control. This might come useful in games with a lot of D-pad spinning (e.g. later levels of Kuru Kuru Kururin).

There are a few changes behind "more sophisticated accelerometer handling":
  • The deadzone is radial, which means it takes the same amount of tilt to trigger a diagonal direction as a main direction.
  • Uniform direction areas make it possible to trigger a diagonal direction without triggering one of main directions first.
    Name:  gpspm.png
Views: 717
Size:  5.5 KB
  • All three acceleration vectors are taken into account during calculations to determine the real tilt rather than just an approximation along X and Y axes. Thanks to that it is possible to set the neutral pitch to 90 degrees, and another advantage is that the deadzone is not deformed at steeper angles. Unfortunately, there's also a possible downside to this approach: roll is measured relative to the ground rather than the device. However, uniform direction areas compensate it to some extent and perfect motion controls in every orientation are not possible without a gyro sensor anyway.
__________________
My Thumb mini-repository: http://gidzzz.mooo.com/maemo/.
 

The Following 6 Users Say Thank You to gidzzz For This Useful Post: