maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Completely disable the accelerometer/rotation (https://talk.maemo.org/showthread.php?t=61495)

fwrnando 2010-08-31 22:27

Completely disable the accelerometer/rotation
 
Is there a way to do so? By that I mean lock the orientation to landscape mode. I often use my N900 while laying in bed, and certain applications don't have rotation settings to block them from rotating when I don't want them to.

I know I could just open the keyboard, but still, isn't there a hidden preference somewhere?

SavageD 2010-08-31 23:47

Re: Completely disable the accelerometer/rotation
 
Go to mce.ini and look for this line:
Modules=display;keypad;vibrator;led;battery;filter-brightness-als;inactivity;alarm;accelerometer;callstate;camera;homekey;audiorouting

Remove the word 'acclerometer' to make it look like this:

Modules=display;vibrator;led;battery;filter-brightness-als;inactivity;alarm;callstate;camera;homekey;audi orouting

Restart the phone.


To return the accelorometer you, go back to mce.ini and re-add the word accelerometer to the line:
e.g

Modules=display;keypad;vibrator;led;battery;filter-brightness-als;inactivity;alarm;accelerometer;callstate;camera;homekey;audiorouting

And restart the device.

fwrnando 2010-09-01 01:58

Re: Completely disable the accelerometer/rotation
 
Worked perfectly, thanks!


All times are GMT. The time now is 00:49.

vBulletin® Version 3.8.8