Tracing Platform Configuration
When JavaFX starts up on an embedded Linux device, it tries to identify what platform it is running on. You can see what platforms JavaFX checks for and what platform it decides to use by setting the boolean system property monocle.platform.traceConfig
to true
. As on desktop platforms, the property prism.verbose
is also available to provide information on the selected rendering engine.
Property | Type | Description |
---|---|---|
monocle.platform.traceConfig | boolean | Traces embedded JavaFX platform startup |
prism.verbose | boolean | Traces rendering engine configuration |
Tracing Input Events
Getting information about input devices
JavaFX for embedded Linux devices contains a small application for reading input device configuration and the events generated by these devices. This application is included in the JavaFX runtime and is run with:
java com.sun.glass.ui.monocle.GetEvent
GetEvent
shows information on all input devices found by JavaFX, including:
- Device input nodes
- Device properties
- Absolute axis ranges
- Product IDs
- Linux events generated by the devices
In most device configurations GetEvent
must be run as root in order to have permissions to identify and track input devices.
Tracing input events while JavaFX is running
JavaFX for embedded devices provides the following system properties to track input events:
Property | Type | Description |
---|---|---|
monocle.input.traceEvents | boolean | Traces input events |
monocle.input.traceEvents.verbose | boolean | Has the effect of monocle.input.traceEvents and also traces low-level events read and processed by JavaFX. This includes the pipeline of filters used for touch event cleanup. |