On 05/31/2011 03:40 PM, Ralf Mardorf wrote:
Xorg -configure does generate a xorg.conf that break
the mouse wheel.
I now try to set up xorg.conf for the monitor and for a while I'll
ignore hat the wheel doesn't work.
These days it is very unusual to edit xorg.conf manually. HAL does most
of the input-device setup.
Unless you've already disable HAL in xorg.conf - see
http://www.larsen-b.com/Article/341.html - you should configure HAL
instead of xorg.
/etc/hal/fdi/policy/*.fdi
<device>
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_options.Buttons"
type="string">5</merge>
<merge key="input.x11_options.Emulate3Buttons"
type="string">on</merge>
<merge key="input.x11_options.EmulateWheel"
type="string">on</merge>
<merge key="input.x11_options.EmulateWheelButton"
type="string">2</merge>
<merge key="input.x11_options.XAxisMapping"
type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping"
type="string">4 5</merge>
<merge key="input.x11_options.ZAxisMapping"
type="string">4 5</merge>
</match>
</device>