________________________________________________________________________
Applicable Environment
________________________________________________________________________
- Topic: How to enable a keyboard or mouse in Screen
- SDP: 6.6.0
- Target: Any supported target
________________________________________________________________________
Recommendation
________________________________________________________________________
In order to enable a mouse or keyboard in screen you need to modify the graphics.conf file for screen and tell it that a mouse and or keyboard is desired.
The section that will need to be modified is the globals section of winmgr. A new entry titled 'input' will need to be added and uses the format:
# input = [all|<attach_string>|none]
# <attach_string> = <input_device> *
# <input_device> = [touch<index>|mouse<index>|keyboard<index>|control<index>]
# <index> = [0..15]
So in the case where a mouse and keyboard is desired the entry would look like this:
begin winmgr
begin globals
# This is a comment
...
...
input = mouse|keyboard
...
...
end globals
# Enable the cursor
begin display
# cursor = [sw-square|sw-arrow|hw-arrow|off]
# This directive indicates the shape of the cursor, if present. If cursor
# is set to sw-square or hw-square, a small square is drawn at the
# coordinates of the relative pointer device. The composition manager
# will use a hardware cursor if the value is set to hw-arrow. The default
# value is off.
cursor = sw-arrow
...
end display
end winmgr
________________________________________________________________________
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns. ________________________________________________________________________