Remap buttons on auxillary mice for left-handed mode (bug 314409).
2005-09-12 Ray Strode <rstrode@redhat.com> Remap buttons on auxillary mice for left-handed mode (bug 314409). * configure.in: add check for xinput extension, needed for bug 314409. * gnome-settings-daemon/gnome-settings-mouse.c (supports_xinput_devices): new function to detect XInput Extension (configure_button_layout): new function to set up logical mouse button layout for left or right handed mode (xinput_device_has_buttons): new function to detect if an xinput device has buttons to reconfigure (set_xinput_devices_left_handed): new function to set auxillary mice into left-handed mode (set_left_handed): call set_xinput_devices_left_handed if available
This commit is contained in:
parent
333a150ee6
commit
ac2dad4891
4 changed files with 170 additions and 21 deletions
|
@ -83,6 +83,7 @@ AC_CHECK_HEADERS([X11/extensions/xf86misc.h], [XF86MISC_LIBS="-lXxf86misc"],[],
|
|||
])
|
||||
AC_SUBST(XF86MISC_LIBS)
|
||||
AC_CHECK_HEADERS(X11/extensions/XKB.h)
|
||||
AC_CHECK_HEADERS(X11/extensions/XInput.h)
|
||||
CPPFLAGS=$savecppflags
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue