yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
If you feel that the sensor polling rate is set too high, than you can reduce it yourself in the general options panel, 2nd tab. By default it's set to 500ms (two polls per second) which is about 20x slower than games poll the sensors. You can decrease the rate even more, upto 2000ms intervals, but you lose responsiveness then, as Gyrator only checks once every 2 seconds to see if the orientation has changed.

I think that your device must not be sleeping correctly for some reason, as no-one else has commented on any battery drain, and the CPU usage is under 2% even when rotating the device wildly with a poll rate of 50ms (this does not include the CPU usage from windows whilst it rotates the screen).
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Remove, edit or disable the top two rules that are there by default.

*,2,1087,8,
*,2,2111,0,

Make sure you have enabled any rules you have created, and that they are not being ignored because of a higher priority rule.
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
my self and 2 other rom cooks have all experienced battery issues. as well as other users on PPC Geeks are reporting some abnormal battery drain as well. trying to pinpoint why. it could be relative to an app im running. (only active sync runs in the background besides Gyrator though) or even bogus battery readings... but i do know it was dead as a door nail this morning which has never happened until i started using Gyrator last evening.

and i agree, if it was sleeping correctly it wouldn't be polling the sensor constantly. but it appeared to be in a sleeping state, but something just isn't going down right.
[Touch Diamond, MDA Compact IV Themes and Apps] clamknuckle:
No issues with battery whatsoever here. Stock Sprint ROM It's been off the charger since 730 am, its now 1245 am, and I'm still at 93%. I've gotten a few emails and made one call, sent 5 texts. So pretty normal.
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
my brain was too lazy :P

I was thinking that the rotation while flat (i.e. z-axis is 0, and changes in the x & y axis), or rotate while being perpendicular to the flat surface (i.e. x-axis is 0, y & z axis changes), would trigger at least 2 axis change that could be used to detect the orientation. guess it's not so simple.
[Touch Diamond, MDA Compact IV Themes and Apps] peterbonge:
Why not giving the user the choice between:

- no autostart

- classical autostart (with a 10s delay)

- autostart via TF3D

You could realize this with radio boxes or a drop-down-menu.

And what about the idea with the "Start App" event?
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Forgive me if I'm pointing out the obvious, but you may want to make sure when you "idle" your device at the end of the day that you use the "suspend" option in Gyrator or manually hit the power button at the top of the phone instead of just allowing the screen backlight to timeout or using the "screen off" option in Gryrator as there is a significant difference between the two.

Hope this helps.
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
i always put my device to sleep via the power button each time i put it down. thats why i cannot figure out why it was dead when i woke up.
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Yes exactly. The lock screen reports a window class of "Dialog" and does not have a window title. Since Gyrator uses what effectively amounts to an "OR" condition as it goes through each event when trying to decide if each event applies to the currently diplayed screen. You'll need to make sure you setup events for all other screens which report as "Dialog" (be sure to use their Window Title) and move them above the "Dialog" event.

Edit: [snip] - if you read this before please disregard what was here, I was thinking backwards.
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
ok im back on the band wagon to test. i hope it was a fluke :D, because all in all, i love the app.
[Touch Diamond, MDA Compact IV Themes and Apps] hank3rd:
Would you be able to tell me what entries I need to make. It is not working for me.

I entered one for Phone - Incoming and selected "phone" from the list

Also entered one for Phone and selected "phone" from the list

and lastly added Dialog and selected "phone from the list"
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
I'm not quite sure what your after, but I'm guessing you do not want the phone or incoming call screens to rotate.

First let me point out that entering text (for an event) and selecting items from the list is accomplishing the same thing. When you select an item from the list (click it twice) it will change the text at the top. That's all it does. This text at the top is not just for you to give custom names to your events, rather it is important and must be set to specific values in order to work.

In order to keep the phone from rotating you should have the following two entries in your main events list.

Phone 1 0 0

Phone - Incoming 1 0 0

Also make sure any "Orientation" entries setup for rotation for "Dialog" or "*" are demoted below your phone entries. With the phone entry you will also want to either select it from the list or use "Find Window Title" or type "Phone " (with the space at the end but without the quotes).
[Touch Diamond, MDA Compact IV Themes and Apps] ggilles77:
Hi, no the event after the two firsts is for the stylus is

Phone 1 1 1

and the screen rotate in portrait mode and does not change
[Touch Diamond, MDA Compact IV Themes and Apps] as0r:
Astonishing good and precise.

Will report on battery life on the touch pro.
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Good idea. This way if you were aleady in landscape, etc...when the phone screen comes up, you can rotate it to portrait and it will stay there.

FYI: "1 1 1" setup is accomplished by checking "Portrait" and "Rotate Screen".
[Touch Diamond, MDA Compact IV Themes and Apps] hank3rd:
Thanks, between this information and just reading the entire trhead and playing with the settings, I got it to work!
[Touch Diamond, MDA Compact IV Themes and Apps] arche3:
ok...

with

phone 1 0 0

phone incoming 1 1 1

it switches back to portrait if a call comes in on landscape. and prevents phone in portrait to rotate. but if I am in say.. "outlook", on incoming call, the phone screen will not come up if in landscape. but as soon as I rotate it into portrait the phone app comes up.

And, Gyrator disables the face down silence ringer function with these settings as well.

any thoughts?
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
quick question, I have gyrator set to suspend the phone when face down. problem is, if the bottom buttons are lit up, they do not turn off the lights. any way for me to fix this?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Gyrator does not disable anything, i've said this before to someone... It works along side the existing systems. If they happen to complain because something is listening to the sensors, than that's their problem. Gyrator can work along side other applciations that are listening to the gSensors, so why can't they?

As fo the first problem, I think that's a problem with the OS itself. I don't think Windows Mobile was designed to have the screen rotated as much as it is when you use this program, so there may be some applciations that throw a paddy when the screen isn't in the orientation it expects it to be in.

Almost all of the problems people are reporitng are actually problems with the OS, not Gyrator, and these problems are out of my control. Gyrator does not tell any other windows to minimise or maximise, nor does it pull itself to the front, other than when you close a configuration screen, to pull the parent to the front.
[Touch Diamond, MDA Compact IV Themes and Apps] arche3:
I did a test with Gyrator2 off. with opera in a landscape configuration on an incoming call the phone screen comes on in a portrait configuration even with the phone still landscape. (As expected.) the g sensor in the diamond and wm 6.1 is probably really tightly integrated and adding another app on top of the OS most likely is not the most efficient way of utilizing the g sensor under wm 6.1. i still don't understand why HTC didn't allow the option of the Gsensor to be toggled on and off built into Tfl3d without a third party app? even the iphone seems to do this easily... and our vastly superior diamonds are playing second fiddle on the interface to the iphone. wm OS is kinda lame... even with all the superior productivity of wm 6.1 there are a lot of the iphone functions in terms of UI that wm needs to copy. wm needs to be revamped.
[Touch Diamond, MDA Compact IV Themes and Apps] wrecklesswun:
I noticed when the device is locked...the today's locked screen still rotates, but when unlocked with an exception does not...how can this be fixed? Great app! i will be making a donation...
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
You know the next step people?

Sharing applications.ini!

In fact if brins0 supports comments in the ini, we might have nice explanations on what each line does!

Since there are sooo many possibilities, ideas from everybody are welcome.

Maybe even maintain a main applications.ini, like now in author's site, but I am sure he doesn't have the time to collect everything from everybody (just help us with clean up from time to time - like sorting issues etc.).

What do you think?
[Touch Diamond, MDA Compact IV Themes and Apps] Blazeitup123:
great idea to share .ini, im still pretty confused by the new system. comments would help alot imo.
[Touch Diamond, MDA Compact IV Themes and Apps] kHiTe:
Great Application. Bit confused by setting it up.

What I really want is to choose which programs rotation is on for rather than which apps it is off for.

Will keep playing.
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
brins0,

the version rc2 definitely works very well (although I have to tilt inward as I rotate my phone, I can leave with it, I'm just wondering how iphone does it) and I have no regrets really in donating!

one question though, I like the idea that I can lock the phone when I face the phone down. However, can you include pin-lock in that as well? I think there's some API to enable that.... please? :)
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
bump cause i think this got over looked :(
[Touch Diamond, MDA Compact IV Themes and Apps] TERmp77:
Help

I got two problems setting this up. I either get it to open into Opera with illegal URl, or if I try to install it again, I get no application associated with "gyrator.cab".

So can anyone take a minute out of their day and walk through the set up process, what I am doing wrong or whatever. Please and thank you!
[Touch Diamond, MDA Compact IV Themes and Apps] JRMX:
Unlocked US Diamond performance

Works great on my US unlocked Diamond (ROM v 1.93.422) Substantially improves the UI on my unit. A few minor early version issues already noted by others, but functionality is terrific.

Text input with email and SMS very much improved with the display and keyboard configuration flexibility.

Now if it would only rotate the battery and improve my up time.....:)
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I will include the PIN lock for you in the next release, should be quite easy to add due to how i've built up the events processor. I'll have to ensure that you can only select one of the lower options however, as otherwise it will cause problems. If you try to keylock, pin, screen off, then suspend, bad things are bound to happen...

I have tried downloading the cab file through the opera browser I have installed on my device, and it works correctly, saving the file where it's told to. It also works in "Internet Explorer" in WM6.1 as well. All else failing, i'd say you should try downloading it on your PC, and then copying the installer over.

Check that you have told it to suspend and not simple turn the screen off, as one does not power down the LEDs under the buttons. If you are certain that you've checked suspend only, and that there are no other events that may be placing it in screen off mode instead, then i've no idea i'm afraid. It may be an internal problem with Windows on your phone, or it may be another application that's preventing the device from suspending correctly.

I'll keep an eye out for problems occuring on my phone, and my mother's (she's also got a diamond, although she's not using my program. Mebe she doen't like her own son's work, I don't know... but i'll convince her to start using it, lol)
[Touch Diamond, MDA Compact IV Themes and Apps] Lux-:
This is a great program and has come a long way in such a short time! Definitely worth my donation.

A big feature I would like to see is manual screen rotations on events and the ability to trigger an event when a certain window is in focus. Many issues people are having with the screen rotating inappropriately could be fixed with manual rotations which trigger on certain windows being in the foreground. For instance, you could set an event to rotate the screen to Portrait whenever the Phone window is in focus. Or you could set the email program to always start in Landscape.

Also, the UI could be streamlined to be a bit more usable to cut down on many of the "it doesn't work" posts in this thread. The events should be on the main screen, rather than in the options menu. Also, the events could show in three columns: Enabled (checkbox), Title, Type (Orientation, Stylus, Window). The title of the event would be entered by the user when creating or editing an event. This will help people keep track of what they're looking at. I don't think the bit flag display is necessary at all, since all the options are spelled out in plain language inside the event editing interface.

Some other features I'd love to see some time down the road would be the light sensor as a trigger, shaking the phone as a trigger, and the ability to turn on the backlight as an action.
[Touch Diamond, MDA Compact IV Themes and Apps] johnboywilson:
Hi i`m really having trouble with gyrator 2. The first version was spot on just perfect for me , i don`t really want to go back to it so i was hoping someone could help configure 2 to be like 1 for me. Basically the only thing i need is that when i out my stylus in it vibrates and the screen goes off and it locks. When i take out the stylus it unlocks the phone and vibrates. I also like it to beep when i change orientation. Oh by the way i am unable to change the beep to any other sounds also. I have read the info on the web page and i just cant get my head round it!

I would really appreciate it thank you... :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] bobbenedetti:
I did the same test with Opera with Gyrator running and not running as well as Poutlook and Word with Gyrator running then not running and windows manually rotated to Landscape with a long press of the call button.

In every single case, Gyrator or no Gyrator it took two rings on the calling phone for the incoming call window to pop up in portrait mode.

Works for me
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
Thanks, this is a great news!! in case you want to know the API for the pin lock, it's SHDeviceLockAndPrompt();

It'll be good that you can specify a list of predefined action (pin lock, suspend, screen off, etc) with option such as sound and vibra, and then allow custom action that basically enable user to specify custom program to be called, so that you do not need to keep yourself up-to-date with every request from every of us while we can always write small utility to carry out the desire action.
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
btw, your mama is one cool mama in town!

are you sure she's using HTC diamond, and not the 'real' diamond? :P
[Touch Diamond, MDA Compact IV Themes and Apps] jaydubya:
I noticed that when the device is rotated the full qwerty keyboard has a different layout. For instance, in portrait mode the full qwerty has keys for comma and period on the main page. However in landscape mode, they are not there and some of the letter keys are shift around. Is there any way to have the keyboard layout be the same in landscape as in portrait?

This is on a Sprint Diamond with stock rom.

Thanks,

Jeff
[Touch Diamond, MDA Compact IV Themes and Apps] aceracer24:
I could not agree with you more. Generally, you would have more apps NOT rotating then you would actually rotating. This I think would help solve some issues such as the Phone and Phone incoming and turning off rotation for them. If you had everything off, then just selecting which you want to rotate I would think would be far easier...? My $.02 Either way, fantastic program!
[Touch Diamond, MDA Compact IV Themes and Apps] Yuna:
Have a problem: almost everytime(i.e almost each reset) my device going crazy: it's rotating window, and then MINIMIZES it

BTW: Such SHT happens not only in usual progs, but also in Opera etc. except ALbum.
[Touch Diamond, MDA Compact IV Themes and Apps] yaneck:
Is there any manual for Gyrator?
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Unfortunately what you are requesting will probably forever be outside the scope of this application; which is programming speak for this is way above and beyond what Gyrator was built to accomplish. The primary function of Gyrator is to initiate screen rotation using the built in windows mobile screen rotation feature (remember in the older versions it was at the bottom right). The keyboard is a seperate program and is coded to present itself in a specific way based on available screen space or orientation. You will have better luck looking for an alternative keyboard (I believe there are many).
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
I have no idea why this is happening. Gyrator is incapable of minimizing a program, but if you've installed other helper apps, they may be getting confused by Gyrator rotating the screen and causing unexpected behavior.

Another possibility - is it possible you sometimes get impatient for the rotation to occur and begin click the screen (specifically the corners). The only other thing I can think of is if you click where the "x" in the corner is about to be and then after the screen rotates windows is processing the click event which it applies to what is now the top right corner.

Just a shot in the dark - hope you figure it out. :confused:
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Hey there JohnBoy. Let me see if I can't help you out. The Gyrator events system is very capable, but as such can be quite confusing (it's actually a lot like the combat engine of Final Fantacy XII if that helps at all).

I was planning on giving you specific steps, but it would be a lot of them, so I'm instead going to try to help you understand the events system setup better.

It sounds like you know how to create and edit events (or at least get into the edit screens for events), so I'll skip that.

Basically when you are looking at the list of events, they will be considered in the order they are presented in. What this means: There are two types of actions that can be "caught" or "handled" by Gyrator - the G sensor (you turning the phone) and the stylus being inserted or removed. In the events screen in Gyrator you can right click and select which action this event sets up conditions for - "Orientation" (G Sensor) or "Stylus".

When an action occurs (lets say you insert the stylus) Gyrator will look through all the "Stylus" events one at a time (in order). And try to find one that matches the Window/Screen/Program you are currently viewing (an "*" will apply to all Programs). Once it finds one that matches or an "*" it will check the conditions to see if it should do anything and if so, what it should do. If it finds the program by name (Window Class or Window Title) then it will execute that event and stop moving down the list (so any "*" events futher down the list will not fire); however, if it finds an "*" it will keep moving down the list and execute any subsequent "*" or named events (if the name matches of course).

The conditions that Gyrator checks to see if it should do anything are set on the "Orientation" and "Stylus" tabs (while editing events). These are the conditions that must be true before Gyrator will do what you have set for it in the "Events" tab. So for an event handling a "Stylus" action you probably don't care what orientation the screen is in. In your case I would recommend always checking "Anything" in the "Orientation" tab for "Stylus" events. Then you'll set your stylus condition (is it going in or coming out?). Then setup the "Events" you want to occur if all the above is true.

If after you read this (maybe a couple times) you are still having trouble I would recommend clearing out all the event and try adding just one and experiment with it. This is probably the best way to come to grips with the events system. I'll admit it is tricky at first, but once you start to get the hang of it the rest comes quickly.

Please try your best to work with what I've given you, but if you're still having trouble don't hesitate to ask more questions.

:D
[Touch Diamond, MDA Compact IV Themes and Apps] johnboywilson:
Thank you very much for taking the time to write this. !`m going to have a couple of reads of it and then have another go.

I can normally work out most stuff to do with phones as i`m very passionate about them, but this well lost me!

I`d loved the first version too it was spot on but this one is doing my head in.

Are people going to start uploading there ini files do you think to help out those who are confused or just too lazy to try it?

Thank you again i`ll let you know how i go... :D
[Touch Diamond, MDA Compact IV Themes and Apps] Yuna:
LucidObscurity

I am sure that i don't click - it simply minimizes!

Want video?

http://www.youtube.com/watch?v=O1Q25Q-xhQ0

(no other helpers)
[Touch Diamond, MDA Compact IV Themes and Apps] zonsoft:
Different classes and names for an application

brins0,

Gyrator2 is near perfection, but may I kindly ask for an option that will make it work with programs that generate different windows classes every run and have a variable window title - as Haali Reader, for example. To make Gyrator2 handle such applications, it will be very useful to make it understand wildcards in window name - at least "*". For Haali Reader the only way Gyrator2 will work as I can imagine is to write "HR : *" in window name...

Thanks in advance!
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Are you sure the window class is dynamically generated, or just the title. Most applciations have differing titles, but always maintain the same window class string.
[Touch Diamond, MDA Compact IV Themes and Apps] arche3:
dude... how old are you?

how do you know all this stuff? I think you are a kid? right? you should go to college for this and go work for microsoft. maybe fix windows mobile lol...

it it pretty cool that you can learn to do this on your own.
[Touch Diamond, MDA Compact IV Themes and Apps] zonsoft:
Yes, it seems so. Try it yourself - Haali Reader's windows class learned by Gyrator2 looks like "Afx:xxxxxxxx:xxxx:xxxxx:xxxxxxxx" and differs form one run to another. Haven't got a clue why but the only way to pin this proggy down is to parse title which contains "HR: " plus current document title.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I've just turned 22, and i've already got a computer science degree, going on for a masters this year. So i'm hardly a kid... Thanks anyway though :p

Well that is interesting... I wonder why they chose to change both the class and the window title... The only other way besides a wildcard, is trying to pin down the executable path somehow, and use that in Gyrator as well. Then there will be 3 ways to pin a window down to exclude it. I'll look into it, until then, I can't think of any way around it, sorry...