yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Suspending the device will (should?) actually turn off some of the hardware and stop most programs from running (like pressing the power button at the top of the Diamond) while turning the screen off does just that (like not touching the phone for a while).

For instance, if you are connected to ActiveSync via USB and use Gyrator to turn the screen off, ActiveSync is still running; however, if you use Gyrator to suspend the device, the ActiveSync connection will end (as if you had unplugged the phone).

Here's more info if you're curious: http://blogs.msdn.com/windowsmobile/archive/2005/08/10/450186.aspx
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
Amazing, this week, you're my hero :)
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I have thaught about it in the past, but the load/requests on my little home server would increase to a level that would most likely upset my ISP a little. I run my entire domain (brins0.net) from my simple network attatched storage device, and the strain on it is becoming noticable with Gyrator's increased popularity.

When I get enough money in donations to pay for a year's web hosting, then i'll most likely move my projects off my home network, to an external site. Until then, i'm afraid it's gonna have to stay how it is. I will always keep this thread title updated though, so all you need to do is check the title, no need to even view the thread.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Yes, it's quite possible to do this now with the new additions to the program. Strangely, the phone screen's title is "Phone " (yes with a single space at the end of it), so ensure you have the exact string, as I use exact comparison (case sensitive as well) between the strings in question. This is the only window i've come across which is like this, who knows why it's like that...
[Touch Diamond, MDA Compact IV Themes and Apps] clamknuckle:
Ah, that got it. Thanks again for this. I'll be donating soon as this is a MUST HAVE app for the Diamond.
[Touch Diamond, MDA Compact IV Themes and Apps] Kiekeboe100:
hello,

been testing the new version (actually the one before that :p)

and it works perfect with my touchpro now.

is it possible to add 2 more things?

In the event list, maybe it is possible to show a custom name for an event. This way i would be able to specify what all those * events mean :)

I would also love to have an option to lock the touchscreen. (Like sensorlock and answer keys disabler do). This way i could lock the touchscreen when tomtom is running by changing the phones direction.

With the windows lock, the screen's backlight is turned off, so this isn't good enough.

thx,

Kiekeboe100
[Touch Diamond, MDA Compact IV Themes and Apps] gofawkurself:
How would I go about just adding the phone on the exclusion list? When I select it from the list it stops the email and text messages from rotating which is really the only two that I want it to rotate.

Should have mentioned this on the top of my post. Amazing Application you got there. Glad we have geniuses like yourself in the community.

Never mind. just read post #402 - thank you
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
New version allows me to exclude phone from rotation while keeping other dialog class rotated, as intended, and fixes problems with startup.

Thanks so much for addressing these issues.

*edit* Just noticed that the incoming call screen still rotates even if "phone" is excluded. Anyone know the class name for this screen? It says start on the titlebar.

Thanks.
[Touch Diamond, MDA Compact IV Themes and Apps] Zekee:
I prefer the first version of gyrator2... i have problems with v.14. i havd set it up for screen to turn off when in reverse portrait, but right after i enabled the function. the screen keeps turning off each time i have an orientation change..
[Touch Diamond, MDA Compact IV Themes and Apps] HiNote:
Now in my TouchPRO Gyrator doesn´t start after a soft reset. The previous versions works OK. In new version adding a shortcut to startup starts OK. (I don´t use TF3D)
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
Is it just me or does this als auto device lock your diamond? i cannot find an option to disable this.

i use a different locking application that uses gestures to lock/unlock.
[Touch Diamond, MDA Compact IV Themes and Apps] clamknuckle:
Same thing here, I tried doing a few things but I couldn't get it.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
i have the same problem. set it up again to shut off display when in face down with stylus in but it fires in any orientation. for testing purposes i changed it to just vibrate instead of turn off the screen so i can play with it but cant find a resolution yet. :(
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
I had something weird going on similar to what you are describing after installing the new version. A soft reset solved it.
[Touch Diamond, MDA Compact IV Themes and Apps] sanjamus21:
down loaded it yesterday and works a treat with my new htc touch pro
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
soft reset and still experience it. and i just noticed that if the screen is locked you can rotate manila. though this might have been sense the stylus locking was above the rule to dis-allow manila rotating but even after promoting that rule to the top, you can still rotate it behind the locked screen.
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
This is due to the fact that the lock screen reports as "Dialog". Event though you are looking at Manila, if the phone is locked, you are actually on the lock screen (transparent).

I can't seem to get this version to work correctly either though. It seems to be ignoring the "And the orientation is..." rules completely. I've removed all events except one "*" Orientation event and I set it up to only orient the screen if "...Orientation is..." portrait or landscape, but it will orient the screen all of the 4 directions.

Any thoughts brins0?
[Touch Diamond, MDA Compact IV Themes and Apps] pencilcase:
I seem to be unable to create an event to enable lock+turn off screen when i turn my phone upside down. It works great as long as I am in the application but not when I am on my homescreen.

my events:

* 2 1087 24

* 2 2111 0

Opera_MainWndClass 1 0 0

Manila 1 0 0

* 1 16 24 (the locking event)

Teeter 1 0 0

HTCYOUTUBE 1 0 0

IACSP20_Main 1 0 0

Coreplayer 3 0 0

* 1 63 1

Anyone got any suggestions on the above setting that would prevent them from locking my screen properly ? Any help would be appreciated
[Touch Diamond, MDA Compact IV Themes and Apps] Blazeitup123:
what i hate is when closing a landscape app, home sceen is in landscape. how do i fix this? i have asked for a solution serveral times and i still have the problem. :( home screen needs to stay portrait! or inlcude the landscape sreen from touch pro.

grrr, this really frustrates me!

also is there any way to make the sip not minimized when rotating? it always minimizes!
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I think it would be possible to add these into the mix for the next version. Locking just the touchscreen would require nasty "hacking" and additional messiness, although i'm sure it's possible. A quick solution is to tell the backlight not to dim when the device is locked. (This option can be found in the "Power" settings panel in "Settings".

Best thig to do here, is enable learning mode for "Window Title", call yourself from another phone, then insert the stylus into the device to capture the title. This will capture the name of that window then. I have seen that even though when on the Today screen, even though it says "Start" at the top, the Window Title is actually "Desktop", so this may be the case for your problem. I'm sure other users would appreciate it if you posted your findings. If you do, I'll add it to the Applications.ini file for the next release, and for download on my site.

Have you tried to capture the window title/class when the device is locked and manila is focused to see that the name that has been entered is actually the one which is in focus. It may be that Manila does something strange like forcing a transparent window to the front or something. I don't have manila installed on my device so I can't experiment to find the problem unfortunately.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I intergrated the new release of the library into the latest applciation, which must be causing problems. I'll revert back to the old version, and see if that makes a difference. If that fixes, it, i'll re-release it in an hour or so. I'll go grab some coffee and get sorted.
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
bump for the developer :)
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
if you have TF3D enabled then Manila is your home screen. Since Manila is ABOVE the "*" for locking, the "*" event will not be executed. This is explained on brins0's website. Basically, the program runs through the events in order from top to bottom. If it finds a program specified by name then it will not attempt to process the remaining events. Someone feel free to correct me if I'm wrong, but this means you may only have 2 named entries for each program which will work - one for Orientation and one for Stylus.
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
brins0,

have you found out if there's any bug that could have caused the entire system to slow down? At least one more person had reported the observation, so I must not be imagining at my end...

usually it happens after a while, not immediately. is there leaked code?
[Touch Diamond, MDA Compact IV Themes and Apps] pencilcase:
ok so i changed it to:

* 2 1087 24

* 2 2111 0

Opera_MainWndClass 1 0 0

Manila 1 16 24 (now locking when face down)

Teeter 1 0 0

HTCYOUTUBE 1 0 0

IACSP20_Main 1 0 0

Coreplayer 3 0 0

* 1 63 1

problem is now whatever I do at all in terms of any movement the device locks + turns off screen. this should only happen when face down though? I am really lost or I need a proper FAQ .. I am usually not this stupid but the gui isn't really very self-explaining ... :(

apart from me having problems to get this work this is definately one of the must-have-tools out there once properly configured :)
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
The rule at the top of the defaults in the list is responsible for locking the device when the stylus is inserted into the device. Its entry is "*,2,1087,8" if I remember correctly. Either edit this rule, disable it by tapping and holding on it and unchecking stylus, or simply delete the rule.

You are correct there, this is exactly how it works, so if Manila is focused in that scenario, then the locking event will not be processed. Try raising it to the top of the list and see if it takes effect there.

I will keep an eye out for possible leaks in code, although the memory usage for the program never rises more than I would expect it to. I lay this problem down to the new dll which was included. I'm going to roll back to the one used for the 1008.10.13.0 release as this seemed to work correctly.
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
I'll try the same (which may or may not work depending on whether any of the interfaces you use in that library have changed), but I should just be able to drop in the old library.

I'll let you know what I find.
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
thanks! worked
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
OK, it turns out it is called "Phone - Incoming".

Hope this helps.
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
I must have missunderstood...The sensors.dll in the Cab for the last 2 versions is the same.
[Touch Diamond, MDA Compact IV Themes and Apps] A2E:
Website

Hi - would be great if you could add a small, simple, text-based menu to your website. Opra doesn't seem to like the current one, and it is after all a program for the Diamond - I should be able to get at the guide from my mobile device...

TIA!
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Grr... I just tested it and it keeps the incoming call screen itself from rotating but does not exclude the top and bottom taskbars... they still rotate.

Hmm.
[Touch Diamond, MDA Compact IV Themes and Apps] clamknuckle:
Drybonz, make sure you put it in EXACTLY as you see it, with the - and everything. I made an exception for "Phone - Incoming" and it worked perfectly.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
The library, for some reason is the old one. I removed the old library completely, and dropped in the new one before the last build, and somehow, the old one is still there. I've found the problem anyway, i'd simply put ">=" for a calculation, rather than "==" when I was optimising code. Soon as I saw it I recognised it was the problem.

That's excellent thanks, i'll add it into the list for the new build. Won't be too long now, just recompiling and testing it some more.
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
I left it just as it was learned... do I need to change anything?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Ensure that the rule is enabled, and above the normal "Phone " rule, as this may still take priority.
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Glad I could help. I am still having some rotation quirks with the taskbars on that screen though. You may want to hold off.
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Exactly... you are correct.

I just had to click on orientation in the menu to enable it (change the zero rule to a 1). I did not have to change the priority.

Tested and working.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
[2008.10.14.2] New version!

A new version has been released, so have added this post to bump the topic up.

Corrected a bug in the Events Processing routine which caused the orientation rules to be ignored. Added the "Incoming Call" screen to the applciation list.

Link to information post concerning the updates, as well as download information.

Remember: I keep Gyrator 2 free for people to enjoy, but I have spent alot of my personal

time rebuilding the library and program to keep you, the user, happy. If you enjoy using

Gyrator 2, and find it useful, please consider making a donation, I would really appreciate it.
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Awesome... thanks. Turns out there is one more screen that needs to be excluded to completely fix phone calls... it is the screen that shows during the phone conversation itself.

I will post information on it when I get back from dinner.
[Touch Diamond, MDA Compact IV Themes and Apps] A2E:
I'm having the same problem... :(
[Touch Diamond, MDA Compact IV Themes and Apps] Matteo66:
solved in the last release :)
[Touch Diamond, MDA Compact IV Themes and Apps] LucidObscurity:
Beautiful - works like a charm. Thanks brins0! :D
[Touch Diamond, MDA Compact IV Themes and Apps] A2E:
True! Thanks... Builds are beeing released faster than I can test them... :)
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
brilliant! works perfectly for me now!
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
I'm sorry about all the releases, I thaught the version I released earlier would ahve been fine, but there was just the simple problem which really needed fixing.

Hopefully there are no more bugs which need fixing, meaning there won't be any new versions until new features are implemented.
[Touch Diamond, MDA Compact IV Themes and Apps] gamer007:
Thanks for the update. :)

BTW, how do you use the "> Learn Windows ___?" I can't seem to get it working, and I can't find a FAQ on the main site.
[Touch Diamond, MDA Compact IV Themes and Apps] pencilcase:
I found it by using search on this thread for : "learn"

Short version: click on learn. then go to the application you want it to learn. then remove + reinsert the stylus. bingo, your done :)
[Touch Diamond, MDA Compact IV Themes and Apps] skonvols2k:
Hi, handsome program!!!

do you think it's possible to add "shake" in orientation and "wake device" in events?

TNX
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
This screen is also "Phone". I was able to exclude it by putting a duplicate Phone exclusion under "Phone - Incoming" in priority. Might only have been necessary to change the priority of the first one.

Anyway... hope this helps someone.
[Touch Diamond, MDA Compact IV Themes and Apps] ipporek:
Seems Gyrator is messing up the alignment for my S2U2 lock. Can't unlock my phone cos it's rotated landscape when it's in portrait.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
The problem lies not in Gyrator, but in s2u2. S2u2 is not rotation aware as far as I know. It renders directly to the screen in a set place, so it ends up being 480px wide, and 640px tall, no matter which orientation the screen is in.

Like I have said on occasion before, all Gyrator does is instruct windows to change orientation through the recognised API, not through any kind of back door trickery. So if an application messes up, it's generally due to bad management on the other programmer's behalf. (Before anyone gets at my throat, i'm not slagging off other coders, as i'm not perfect. But to ignore other orientations is, in my opinion, a little short-sighted)
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
I had a similar issue with s2u2, simply made an event to keep it from rotating and problem solved.
[Touch Diamond, MDA Compact IV Themes and Apps] gamer007:
Whoops, forgot about searching this thread. :o

Thanks for the directions. :)
[Touch Diamond, MDA Compact IV Themes and Apps] atompure:
Hi brins0,

BIG Thanks !
[Touch Diamond, MDA Compact IV Themes and Apps] atompure:
Hi brins0,

You owe us nothing to say "Sorry". On the other hand, we, the benefitor should say "thanks for the trouble to come up new releases asap"

thanks
[Touch Diamond, MDA Compact IV Themes and Apps] toesucker:
Can this mean that when locked, the device thinks that it is showing the locking app, and not manila?

Maybe, it's a good idea to put the locking app in the exceptions list...
[Touch Diamond, MDA Compact IV Themes and Apps] peterbonge:
Great app! Works fine on my Touch Pro. I have just two wishes:

1. A "Start App" event. This would make it easy to e.g. change the SIP when the Stylus is out (e.g. via SKMenu command).

2. An option to enable/disable the autostart function.

Regarding the window title recognizing: Wouldn't it be possible to make it case insensitive? And wildcard support would also make sense. Then "phone*" could cover several rules.
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
I downloaded the R2, so far so good, I will let you know if the system suffers a slowdown after awhile.

a quick question though; if I want the device to auto-rotate even when the phone is on z-plane (or on flat surface), does it mean the threshold setting for z-plane should be 0?
[Touch Diamond, MDA Compact IV Themes and Apps] Zekee:
strangely it still doesn't boot on startup.. each time i rest the device i have to re run the app manually..
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Not nessecarilly. I only included those settings for people who wanted to have control over how far they have to tilt the device more or less from flat (from face-up/-down) to make it become a different orientation. It's also there to reduce deadspots (shown as indeterminate in the program). The sensors api representation of "reverse-portrait" requires you to tilt the device almost vertically. I personally hated this, but some users may have profered it, so I gave them the option.
[Touch Diamond, MDA Compact IV Themes and Apps] Matthes42:
Can you please describe how you did that? Please post the line of the applications.ini for S2U2 or don´t you need it?

Thanks in advance
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
The wildcard/case-insensitivity idea for the window title would not be too hard to add I don't think, all i'd have to do would be to check if the last character of the string was the wildcard character. This could be a feature i'd look to add in later releases.

as for the auto start, I think i'm going to remove that feature completely, as there's no single way which works with all devices without wakeup problems, and I can't use more than one method without problems cropping up.
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
Use the learning feature of Gyrator to capture the window title/class. Search the thread for more information (I've not completed the videos yet)
[Touch Diamond, MDA Compact IV Themes and Apps] zenkinz:
so I'm one of those who want to be able to rotate w/o having to tilt from the flat. most of the time when I rotate, I have to tilt in order for the orientation to change, i like to be able to rotate even when my phone is on a flat surface. should i change z-plane threshold to 0?
[Touch Diamond, MDA Compact IV Themes and Apps] brins0:
No, it's impossible for the device to calculate its orientation without being tilted, so setting the z threshold to 0 won't mean it'll work without tilting. It just means that you won't have to tilt it as far from flat.
[Touch Diamond, MDA Compact IV Themes and Apps] DomSim:
create new event.

when the following is focused... type S2U2

orientation - any

stylus - neither checked

event - none checked

click apply

hold on new S2U2 you just created and select orientation from the window that pops up.

then promote this new rule above all the "*" rules

click apply and your done
[Touch Diamond, MDA Compact IV Themes and Apps] paulyluca:
Thanks a lot. Working great on my Raphael. One quick question: how do I desable the "lock when stylus inserted" function?

Thanks a lot!!!
[Touch Diamond, MDA Compact IV Themes and Apps] Sousa2005:
Gyrator 1 for me is perfect. gyrator 2 doest work for me.

I configure to turn off screen when I put de device face down and nothing...I have promoted the event but nothing...

i gona stay with the gyrator1. But thanks for your EXCELENT work in the diamond.

:)
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
The app is GREAT! but i have one thing to point out that maybe others are experiencing.

I let my Diamond idol while i slept. started at 100% charge and when i woke up the device was essentially dead. Something that hasn't happened to me until Gyrator App. I think its killing the battery can any one els confirm?
[Touch Diamond, MDA Compact IV Themes and Apps] jthomas89466:
This application has not affected by battery life at all...
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
Erm... how is that possible?

Your device has a compass?

:p:confused:

Think man... think.
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
Hmmmm i find it hard to believe that loosing 100% of battery in 8H of Idol is spontaneous. we need some more input on this.

I believe the Sensor Polling interval is set to high.

And to kill my cell in 8h over night it has to be an issue with Gyrator. its the only app i have installed different. and it makes sense. since it polls the sensor, its eating battery.
[Touch Diamond, MDA Compact IV Themes and Apps] mailslot:
Agreed, it would be a nice feature. Also the following event would be useful:

SendMessage() to window event. Like WM_CLOSE, or just WM_CHAR
[Touch Diamond, MDA Compact IV Themes and Apps] Drybonz:
Juggalo, just wanted to chime in since I know we are running the same rom.

I had battery issues in the past but with the Juicy 2.5 has been much better. Since installing Gyrator2 I have not noticed any loss of battery life.

I will report back if I do have problems though.
[Touch Diamond, MDA Compact IV Themes and Apps] -Mr. X-:
thanks, i have removed gyrator2 to test my battery and so far it seems to be happy.