--- alx-src/branches/alxconf_20060908/functions/config_x11.sh 2011/01/25 00:32:15 1710 +++ alx-src/branches/alxconf-060/functions/config_x11.sh 2011/04/14 19:29:35 1800 @@ -27,6 +27,7 @@ # which input devices are we using ? ALX_MOUSE=$(mysqldo "select mouse from cfg_input where serial='${ALX_SERIAL}'") + ALX_MOUSE_RESOLUTION=$(mysqldo "select mouse_resolution from cfg_input where serial='${ALX_SERIAL}'") export ALX_MOUSE } @@ -200,7 +201,9 @@ *) device=/dev/mouse;; esac echo " Option \"Device\" \"${device}\"" >> ${xfconfig} - echo ' Option "Resolution" "1200"' >> ${xfconfig} + + [[ -z ${ALX_MOUSE_RESOLUTION} ]] && ALX_MOUSE_RESOLUTION="1200" + echo " Option \"Resolution\" \"${ALX_MOUSE_RESOLUTION}\"" >> ${xfconfig} [[ ${ALX_MOUSE} = IMPS/2 ]] && echo ' Option "ZAxisMapping" "4 5"' >> ${xfconfig}