Support and General Use > User Interface and Voice
UISimulator
kenshin:
--- Quote from: Daniel Stenberg on September 16, 2005, 04:48:23 PM ---I don't run windows and I don't develop on windows so win32 things is generally beyond me.
--- End quote ---
You're not the only one. Count me in, too... :)
--- Quote from: Mmmm on September 16, 2005, 05:22:03 PM ---Is it possible to simulate the hold button?
--- End quote ---
I trust you are wondering about this for WPS purposes? If so, put your image in the "else" condition for the test then switch it into the "if" condition when you're happy.
--- Quote from: Mmmm on September 16, 2005, 05:22:03 PM ---Is it possible to simulate plugging in the charger?
--- End quote ---
I trust you are wondering about this for WPS purposes? If so, put your image in the "else" condition for the test then switch it into the "if" condition when you're happy.
--- Quote from: Mmmm on September 16, 2005, 05:22:03 PM ---and finally how does it decide on the battery level and can I change it?
--- End quote ---
It seems to be always on battery level 3. Change it? Patch the simulator code.
Lear:
The Win32 simulator is capable of playing sound (though the support isn't complete, it should be at the same level as the X11 simulator), but it won't build with that support by default; you have to edit autoconf.h first.
Still, as long as the codecs are properly installed, it should "play", and not be stuck at 0:00, but it can take a little while for it to start.
Mmmm:
Lear : are you saying that i have to edit autoconf.h first or that it should play if I wait a bit?
Do you know what I have to change in autoconf.h?
Kenshin: Thanks, that answers my questions. I suppose if it wasn't for WPS purposes I'd have to patch the sim code to get these things working would I?
AlexP:
--- Quote from: Daniel Stenberg on September 16, 2005, 04:48:23 PM ---If it doesn't play sound for you, then start figuring out why and fix it!
Things don't always fix themselves by magic you know.
--- End quote ---
I would if I could, believe me. The extent of my programming skills are limited VB. I was guessing that the playback capability wasn't there, not complaining it wasn't.
--- Quote from: Lear on September 17, 2005, 05:00:47 AM ---The Win32 simulator is capable of playing sound (though the support isn't complete, it should be at the same level as the X11 simulator), but it won't build with that support by default; you have to edit autoconf.h first.
--- End quote ---
That's interesting. Given my non existant programming, I'll wait until someone else pokes around then hopefully tells me how to do it. I certainly have the relevent codecs as sound (mp3/ogg etc) plays on my computer otherwise.
Lear:
--- Quote from: Mmmm on September 17, 2005, 05:15:22 AM ---Lear : are you saying that i have to edit autoconf.h first or that it should play if I wait a bit?
--- End quote ---
It should play (i.e., not stay at 0:00) if you wait (not very long, a couple of seconds or so, IIRC). You need to edit autoconf.h to actually hear something.
--- Quote ---Do you know what I have to change in autoconf.h?
--- End quote ---
#define ROCKBOX_HAS_SIMSOUND
It's there already though #undef:ed.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version