Customizing Emulator Configuration
There are a variety of settings in epoc.ini that you can be used to customize emulator behavior.
1 ) You can define the text in the emulator title bar via the WindowTitle statement.
2) You can also define virtual buttons and hot keys for the emulator, mapping them to key code events via the VirtualKey and KeyMap statements.
The individual SDKs use these settings to simulate specific phones, so normally you would not modify them – however you may want to customize them in developing specific tests or demos.
// Example for S60 epoc.ini
# S60 in emulator title bar.
# button at defined rect pixel area simulates 0 on keyboard.
VirtualKey 0 rect 126,568 64,28
# Following causes left Alt-1 to send EstdKeyDevice0
# keycode (keycodes in e32keys.h).
KeyMap LeftAlt 1 EStdKeyDevice0
epoc.ini is located at epoc32\data,Following are the available configuration options available :
- Screen size and position
- Fascia bitmap
- Window title
- Digitiser size
- Virtual key regions
- Key mapping
- Pointer type
- Memory capacity
- Colour depth
- Alias name
For detailed explanation for all the available options refer SDK : Developer Library » Tools and Utilities » Emulator » Emulator reference » Emulator configuration file: epoc.ini