Dawid Cieszyński

.NET/PHP Software Developer

Mouse configuration for VirtualBox 4.1.22 (headless) on Ubuntu Server with Windows 98 as guest operating system

VirtualBox 4.1 provides for Windows-98-compatible USB tablet device.
from menu:

VM->Settings->System->Enable Absolute pointing device

or from commandline:

VBoxManage modifyvm "VM name" --mouse usbtablet

next enable Windows-98 mode (set CoordShit to 0):

VBoxManage setextradata "VM name" "VBoxInternal/USB/HidMouse/0/Config/CoordShift" 0