Readonly
powerReadonly
isFires when PalmOS resets or passed UI initialization during boot.
Readonly
audioFires when audio is initializd successfully.
Readonly
timesliceFires after each emulated timeslice (typicall 60 times per second)
Readonly
hotsyncFires when the hotsync name changes. This does not happen immediatelly when
setHotsyncName
is called, but only when the OS is notified of the new name.
Readonly
gameFires if game mode is enabled or disabled.
Load a ROM and put the emulator in paused state.
Device ROM
Optional
deviceId: DeviceIdOptional: device ID, autodetected if not specified
Load a Cloudpilot session and put the emulator in paused state.
Session image
Attach and mount a gzip compressed card image.
Gzip compressed image data
Attach and mount a plain card image.
Image data
Eject a previously inserted card image:
Check whether a card is currently mounted.
Configure the canvas element used for displaying the emulator.
Canvas for displaying the emulator
Receive input events from the specified sources. If this method is called multiple times the previous sources will be unbound.
Optional
keyboardTarget: EventTargetOptional: target for keyboard events, default: window
Unbind the handlers previous bound with bindInput
.
Install a prc or pdb database to the device.
The database data.
Install a prc database to the device and attempt to launch it.
The database data.
Extract all databases from a zip archive and install them.
The zip archive data.
Extract all databases from a zip archive and install them, then attampt to launch the specified file.
The zip archive data.
The file name of the database that Cloudpilot will try to launch.
Attemot to launch the database with the specified name.
Database name
Attempt to extract the name from a database and launch it.
Database data (only the first 32 bytes are required)
Perform a soft reset (equivalent of pushing the reset button).
Reset w/o system extensions (equivalent to holding "down" while pushing the reset button).
Hard reset (equivalent to holding "power" while pushing the reset button).
Is the emulator running?
Is the device powered off?
Has the emulated device passed UI initialization (during boot)? This is required before software can be installed.
Resume a paused device.
Pause a running device.
Adjust speed of the emulated device.
Speed factor
Query configured speed factor.
Set audio volume.
Volume (1 = 100%, 0 = silent)
Query audio volume
Initialize audio. This must be called from an event handler that was triggered by a user interaction, i.e. a click or a key press.
Was audio initialized succesfully?
Enable or disable game mode (direct key mapping to hardware buttons).
Desired state
Is game mode enabled?
Enable or disable shift-ctrl for toggling game mode (enabled by default).
Desired state
Can game mode be toggled via shift-ctrl?
Enable or disable game mode indicator (overlays hard buttons if game mode is active)? Enabled by default.
Desired state
Is game mode overlay enabled?
Query device orientation
Set hotsync name.
Desired hotsync name
Get hotsync name.
Keep running if the emulator tab is not visible?
Desired state
Keep running if the emulator tab is not visible?
Get performance statistics
Get serial transport for IR transceiver.
Get serial transport for serial port.
Fires when the device turns on or off.