View Single Post
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#68
Houston, we have button. It's actually kind of cool.

Default settings for accelemymote 0.7 (accelemymote-gui 0.0.3) have been updated to include the proximity sensor as joystick button A. Cover the left side of your phone to "press" the button.

An alternative setting, available in the main.cfg file documented in the first post, is to have the proximity sensor deactivate/reactivate accelemymote. In this mode, you can cover the sensor to switch it to turtle mode, cover it again to make it start working as a joystick again, or keep it covered to put it in a deeper sleep mode.

The turtle mode functionality is still accessible by turning the phone upside down by default.

I have tested it with PrBoom with good results. Let me know how it works for you.

Code:
accelemymote (0.0.7) unstable; urgency=low

  * Accelemymote joystick device now reports itself having a button.
  * Added polling of proximity sensor with options for effects:
    - set proximity to 1 to give it same behavior as turtle mode.
    - 2 makes it simulate joystick button A.
  * Added basic (per frame) autofire option for button A. Not fully
    functional yet.

 -- Flandry <davidfalkayn@gmail.cmo>  Mon, 31 May 2010 20:59:14 -0400
Originally Posted by mankir View Post
Is it possible to use the app for mouse emulation? Would be cool for Browser and Lxde...
Not as things are now. It would require registering the input device as having relative axes instead of absolute and probably also titan's kernel (just guessing about that part).
__________________

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-06-01 at 03:03.
 

The Following 3 Users Say Thank You to Flandry For This Useful Post: