Add mousechar_start hook
Reviewed by: Nick Hibma <n_hibma@qubesoft.com>
This commit is contained in:
parent
c7bee68f23
commit
b9ea7307d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75708
@ -292,6 +292,9 @@ moused_enable="NO" # Run the mouse daemon.
|
||||
moused_type="auto" # See man page for rc.conf(5) for available settings.
|
||||
moused_port="/dev/psm0" # Set to your mouse port.
|
||||
moused_flags="" # Any additional flags to moused.
|
||||
mousechar_start="NO" # if 0xd0-0xd4 default range is occuped in your
|
||||
# language code table, specify alternative range
|
||||
# start like mousechar_start=3, see vidcontrol(1)
|
||||
allscreens_flags="" # Set this vidcontrol mode for all virtual screens
|
||||
|
||||
|
||||
|
@ -160,6 +160,13 @@ case ${moused_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' moused'
|
||||
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
|
||||
case ${mousechar_start} in
|
||||
[Nn][Oo] | '')
|
||||
;;
|
||||
*)
|
||||
echo -n ' mousechar_start'; vidcontrol < ${viddev} -M ${mousechar_start}
|
||||
;;
|
||||
esac
|
||||
vidcontrol < ${viddev} -m on
|
||||
;;
|
||||
esac
|
||||
|
@ -160,6 +160,13 @@ case ${moused_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
echo -n ' moused'
|
||||
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
|
||||
case ${mousechar_start} in
|
||||
[Nn][Oo] | '')
|
||||
;;
|
||||
*)
|
||||
echo -n ' mousechar_start'; vidcontrol < ${viddev} -M ${mousechar_start}
|
||||
;;
|
||||
esac
|
||||
vidcontrol < ${viddev} -m on
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user