The Following 37 Users Say Thank You to Flandry For This Useful Post: | ||
antoarts, attila77, Bratag, Bundyo, c0rt3x, clasificado, davedickson, deegore, DrWilken, Estel, F2thaK, gobuki, hardkorek, Helmuth, HRZ, iKneaDough, ioan, Lobi_Earl, logicalsid, LordNelson, m2cm2c, Magik, Maj3stic, mece, mikec, noobmonkey, OVK, pantera1989, Petteri, pyromaniac, sachin007, sjgadsby, skalogre, Thesandlord, TomJ, xabaras, ZogG |
|
2010-02-22
, 21:26
|
Posts: 2,014 |
Thanked: 1,581 times |
Joined on Sep 2009
|
#2
|
|
2010-02-23
, 10:17
|
|
Posts: 1,559 |
Thanked: 1,786 times |
Joined on Oct 2009
@ Boston
|
#3
|
The Following User Says Thank You to Flandry For This Useful Post: | ||
|
2010-02-23
, 10:23
|
Posts: 999 |
Thanked: 1,117 times |
Joined on Dec 2009
@ earth?
|
#4
|
|
2010-02-23
, 14:02
|
Posts: 147 |
Thanked: 32 times |
Joined on Sep 2009
|
#5
|
The Following User Says Thank You to tangs For This Useful Post: | ||
|
2010-02-23
, 14:10
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#6
|
The Following User Says Thank You to F2thaK For This Useful Post: | ||
|
2010-02-23
, 16:09
|
|
Posts: 1,559 |
Thanked: 1,786 times |
Joined on Oct 2009
@ Boston
|
#7
|
actually it installs mostlly but i get an error during install, icon is in menu........I run app, it closes and I dont see it in top
|
2010-02-23
, 21:50
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#8
|
|
2010-02-23
, 22:36
|
|
Posts: 1,559 |
Thanked: 1,786 times |
Joined on Oct 2009
@ Boston
|
#9
|
|
2010-02-24
, 01:30
|
Posts: 21 |
Thanked: 4 times |
Joined on Jan 2010
@ Germany
|
#10
|
The Following User Says Thank You to Lobi_Earl For This Useful Post: | ||
Tags |
accelerometer, analog input, game controls, joystick, menu selection, mouse please, tilt |
|
making your accelerometer more joy-ful
Accelemymote takes input from the accelerometers in the N900 and converts it into joystick events. This makes any game that supports a generic joystick interface tilt compatible.
Games and emulators that support tilt control using Accelemymote:
Status: Default profile (analog 2 axis; proximity sensor as button A) and debug implemented. As installed, works reasonably well with quite a few MAME ROMs and is okay in uqm. PrBoom works well, but requires some changes to the default config due to its poor joystick support (a separate issue that will hopefully be dealt with at some point).
With some key mapping and config tweaks (this is where you come in...), a lot of other games and MAME ROMs should work well. Please report.
Package pages:
GUI -- Found in the "System" category. Will automatically install the other package:
CLI daemon -- for those who want to invoke via scripts or xterm. You'll have to use apt to grab this by itself.
Instructions:
- Install accelemymote-gui package.
- Click icon to start app.
- Start game.
- When done playing, exit gui app to shutdown joystick driver.
You can change the settings in ~/.accelemymote/main.cfgHow to Edit Settings (for Dummies )
- Install leafpad from app manager
- Open xterm
- Type
Code:
. Don't miss the dot in front of accelemymote. You should get an edit window full of config file--if not, you did something wrong.
- Edit the values of the parameters. Possibly useful ones to edit are max_roll and max_pitch (which control the sensitivity), and deadzone, which determines what fraction of the max angles from neutral is required before joystick motion begins.
- Save
The values in brackets [ ] are the defaults if you want to return it to original behavior. The code below should match the contents of the file if you need to copy-paste a fix.Zeroing the axis:
To change the baseline tilt (the neutral position) from the default of 30 degrees, click the button in the GUI and hold it at the desired neutral tilt until a banner informs you it has been calibrated (about 5 s).
Triggering that automatic calibration can also be done by changing the value of the offset_pitch in the config file to 900 and then saving. Alternatively, you can change the value to whatever angle you hold the N900 at by default (0 would be flat on a table, 90 vertical).
Config Options (main.cfg)
Unofficial PR1.3/Meego 1.1 FAQ
Accelemymote: make your accelerometer more joy-ful
Last edited by Flandry; 2010-07-13 at 21:43. Reason: New supported games, feature request; how-to for editing conf