Active Topics

 



Notices


Reply
Thread Tools
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#41
Here's a strategic question:

How would you most like to be able to invoke and control accelemymote? There are various possible ways of making it more user friendly. Keep in mind that the design goals of the utility are
  1. Enable support for joystick control in apps that aren't aware of accelemymote;
  2. Make the accelerometer control in supported apps completely optional even when installed.

The processor usage is not insignificant, so it can't just be started up when the game is started. If it was possible to detect when an app requests access to the joystick device, the daemon could be set to run on system startup and throttle down to nothing until there is a need for it, but i wasn't able to find a way to detect that. Maybe someone knows...

The best plan i've come up with is to have a GUI app that is run before the game that starts the accelerometer driver and lets you tweak the settings. Then you exit the GUI when you are done with the game and it shuts down the driver.

What do you think?
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 

The Following User Says Thank You to Flandry For This Useful Post:
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#42
Well don't all talk at once. :P

accelemymote (0.0.4) unstable; urgency=low

* Refactored to simplify loading cfg file.
* Watches cfg file and reloads when altered.
* Desktop file, icon, and user category removed to make invisible
to HAM and make room for accelemymote-gui.


accelemymote-gui (0.0.1) unstable; urgency=low

* Initial release of project. Codename: chewy brownie (GUI goodness)

The "gui" is currently just a bit of text on a blank canvas, but it's a start. You run the gui, run your game, and then quit the gui to shut down the joystick driver.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 

The Following 2 Users Say Thank You to Flandry For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#43
id like to be able to set movements to either joystick or keyboard

left=left key or joystick left
right'right key or joystick right
up=space or joystick b1
etc..
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#44
i dont see version 0.0.4 or 0.0.5 yet??
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#45
Originally Posted by f2thak View Post
i dont see version 0.0.4 or 0.0.5 yet??
Well, there is no version 0.0.5 yet, and i haven't quite cracked the time travel problem. What i can offer you is:

accelemymote-gui (0.0.2) unstable; urgency=low

* Package now in user/system instead of /user/system. :P

There was a little typo in the control file. It made it through autobuilder and will probably pop up in packages in an hour or so (you can always use the package page in the first post to check).

You just need to install the accelemymote-gui through the repo and the daemon will be installed as a dependency. If you have trouble, uninstall 0.0.3 first before installing accelemymote-gui.

Originally Posted by f2thak View Post
id like to be able to set movements to either joystick or keyboard

left=left key or joystick left
right'right key or joystick right
up=space or joystick b1
etc..
This isn't directly in the scope of the app. It takes accelerometer readings and converts them into joystick events available at a generic joystick device node.

However, control mapping and joystick support is already available in all the apps it's specifically targeted to, so it can already be done.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2010-03-03 at 14:00.
 

The Following 2 Users Say Thank You to Flandry For This Useful Post:
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#46
I installed the accelemymote-gui from the repo and it works fine. I believe this to be at a point where it is possible for almost anyone to at least try it out without too much trouble, and to be useful as an alternative controller for the target games.

Please give it a try and give feedback. See the first post for instructions.

Next up is to add configuration widgets to the GUI so that the settings can be easily changed; it will probably be a while before i get to that.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 

The Following 2 Users Say Thank You to Flandry For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#47
Originally Posted by Flandry View Post
Next up is to add configuration widgets to the GUI so that the settings can be easily changed; it will probably be a while before i get to that.
that will be great, greeaaat work man..!
 
Posts: 248 | Thanked: 66 times | Joined on Oct 2009 @ Birmingham
#48
Installed PrBoom (comment on that thread).

Installed Accelemymote GUI from repo -- not sure if it was -testing or -dev - had both active

Download script from PrBoom thread, installed.

Changed offset to 55 deg.

Works great, nice work, thanks!

One thing I can't figure out (please forgive my lack of linux experience) is how to change the settings in the config file? Could you give me an example of what to type in Xterm to get it open and be able to change the values.

I was specifically after changing the values that you suggest to make the response better for PrBoom, it's a bit on then off, I guess changing the max_roll and max_pitch will make this smoother and I won't have to tip the device as far to get a response.

Even two commands lines just to change this would be great, as I am not good enough to mess around with Linux myself yet, but am confident enough to follow instructions and re-flash if nessecary Thanks again for the great work.
 

The Following User Says Thank You to davedickson For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#49
Originally Posted by davedickson View Post
Installed PrBoom (comment on that thread).

Installed Accelemymote GUI from repo -- not sure if it was -testing or -dev - had both active

Download script from PrBoom thread, installed.

Changed offset to 55 deg.

Works great, nice work, thanks!

One thing I can't figure out (please forgive my lack of linux experience) is how to change the settings in the config file? Could you give me an example of what to type in Xterm to get it open and be able to change the values.

I was specifically after changing the values that you suggest to make the response better for PrBoom, it's a bit on then off, I guess changing the max_roll and max_pitch will make this smoother and I won't have to tip the device as far to get a response.

Even two commands lines just to change this would be great, as I am not good enough to mess around with Linux myself yet, but am confident enough to follow instructions and re-flash if nessecary Thanks again for the great work.
d/l mc from extras repo, and edit config file

mc is file manager, you can edit config file with it like notepad
 

The Following 2 Users Say Thank You to F2thaK For This Useful Post:
Posts: 248 | Thanked: 66 times | Joined on Oct 2009 @ Birmingham
#50
Originally Posted by f2thak View Post
d/l mc from extras repo, and edit config file

mc is file manager, you can edit config file with it like notepad
Wow, that is a handy bit of kit!!

BTW: I set mine to 35 for offset, 7 for max_pitch and 7 for max_roll and zero for both thresholds and it works really well

Last edited by davedickson; 2010-03-05 at 15:25.
 
Reply

Tags
accelerometer, analog input, game controls, joystick, menu selection, mouse please, tilt


 
Forum Jump


All times are GMT. The time now is 16:15.