Rotate

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(accel-rotate at projects.openmoko.org)
(Packages and Binaries: Link to Rui's on googlecode)
Line 40: Line 40:
  
 
* Arm [http://files.1407.org/openmoko/rotate/ releases built] by Rui
 
* Arm [http://files.1407.org/openmoko/rotate/ releases built] by Rui
 +
* Rui's project moved from  projects.openmoko.org to http://code.google.com/p/omnewrotate/
  
 
== accel-rotate at projects.openmoko.org ==
 
== accel-rotate at projects.openmoko.org ==

Revision as of 08:38, 22 October 2008


Here's a quick and simple C program that reads a packet from the accelerometer once per second, and rotates the screen to a new orientation if the orientation has changed.

I don't mean this to conflict with Paul's excellent work on Gestures; my reason for writing it is so that it can be used as an always-on daemon in the OM distributions. (Full gesture interpretation is more CPU heavy and requires reading data more often than once per second, so perhaps that will be done on-demand instead of always-on.)

The code is:

  http://github.com/cjb/freerunner-rotate/tree/master/rotate.c?raw=true

There's an ARM binary here (chmod a+x rotate && ./rotate):

  http://dev.laptop.org/~cjb/rotate

There's also a complete rewrite at http://blog.1407.org/tag/rotate

Contents

Patches

And you're welcome to make patches against the GIT repo here:

  git://github.com/cjb/freerunner-rotate.git

Maintainership

Would anyone else be interested in being the maintainer of this package? It would involve packaging it up in bitbake/OE and trying to persuade the various OM distros to include it by default. (Perhaps with an on/off control panel entry in distros that make that easy to do?)

Comments appreciated. Thanks!

- Chris. -- Chris Ball <cjb_at_laptop_dot_org>

Packages and Binaries

accel-rotate at projects.openmoko.org

[1] how to display data from accelerometers on Desktop with gnuplot (there is a few of czech text, but there is also youtube video).

  • project page
  • Source codes are in subversion, every developer is welcome
  • TODO:
    • disabling of rotation while shaking (some heuristics)
    • disabling of rotation while is screen saver running
    • is there any dbus event "disable rotation" ?
  • Om2008.x package:
opkg install http://projects.openmoko.org/frs/download.php/422/accel-rotate_0.3_armv4t.ipk
  • Qt Extended 4.4.1 package:
opkg install http://projects.openmoko.org/frs/download.php/423/accel-rotate_0.3_qte441_armv4t.ipk


No-screenshot.png Rotate

Rotates the screen according to the position of the Neo FreeRunner.


Homepage: [- -]
Package: accel-rotate (external download)
Tested on: -



See also

Personal tools


Here's a quick and simple C program that reads a packet from the accelerometer once per second, and rotates the screen to a new orientation if the orientation has changed.

I don't mean this to conflict with Paul's excellent work on Gestures; my reason for writing it is so that it can be used as an always-on daemon in the OM distributions. (Full gesture interpretation is more CPU heavy and requires reading data more often than once per second, so perhaps that will be done on-demand instead of always-on.)

The code is:

  http://github.com/cjb/freerunner-rotate/tree/master/rotate.c?raw=true

There's an ARM binary here (chmod a+x rotate && ./rotate):

  http://dev.laptop.org/~cjb/rotate

There's also a complete rewrite at http://blog.1407.org/tag/rotate

Patches

And you're welcome to make patches against the GIT repo here:

  git://github.com/cjb/freerunner-rotate.git

Maintainership

Would anyone else be interested in being the maintainer of this package? It would involve packaging it up in bitbake/OE and trying to persuade the various OM distros to include it by default. (Perhaps with an on/off control panel entry in distros that make that easy to do?)

Comments appreciated. Thanks!

- Chris. -- Chris Ball <cjb_at_laptop_dot_org>

Packages and Binaries

accel-rotate at projects.openmoko.org

[1] how to display data from accelerometers on Desktop with gnuplot (there is a few of czech text, but there is also youtube video).

  • project page
  • Source codes are in subversion, every developer is welcome
  • TODO:
    • disabling of rotation while shaking (some heuristics)
    • disabling of rotation while is screen saver running
    • is there any dbus event "disable rotation" ?
  • Om2008.x package:
opkg install http://projects.openmoko.org/frs/download.php/422/accel-rotate_0.3_armv4t.ipk
  • Qt Extended 4.4.1 package:
opkg install http://projects.openmoko.org/frs/download.php/423/accel-rotate_0.3_qte441_armv4t.ipk


No-screenshot.png Rotate

Rotates the screen according to the position of the Neo FreeRunner.


Homepage: [- -]
Package: accel-rotate (external download)
Tested on: -



See also