Usb keyboard and usb mouse devices, 21 usb keyboard and usb mouse devices – AMD SimNow Simulator 4.4.5 User Manual

Page 121

Advertising
background image

AMD Confidential

User Manual

November 21

st

, 2008

Chapter 7: Device Configuration

109

7.21 USB Keyboard and USB Mouse Devices

USB legacy emulation is not yet supported by the simulator model. USB 2.0 support is
very limited, only basic PCI configuration and memory read and write functionality is
available.

By default, the simulator uses the keyboard device model to send user‟s keystrokes to the
simulation. For example, when the user presses Enter with the host mouse on the graphics
display window, the simulator sends the internal command, keyboard.key 0x10 0x80, to
its command interpreter. If the user has a USB keyboard or mouse in his simulation, he
can redirect the simulator to use these USB devices for keyboard and mouse input. He
does this by modifying the following simulator registry keys: Gui_Key_Device=usbkey
and Gui_Mouse_Device=usbmouse (from the top-level View→Registry). With these
changes, when the user presses the Enter key in simulation, the simulator will send the
internal command, usbkey.key 0x10 0x80 to its command interpreter. When the user
moves the mouse around the simulator display, the simulator will send commands, such
as usbmouse.mousemouve 10 10 to the interpreter.

Advertising