查看“︁滑鼠鍵”︁的源代码
←
滑鼠鍵
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{NoteTA |G1=IT |G2=Windows }} '''滑鼠鍵''',又稱'''模擬滑鼠'''<ref name="mac">{{Cite web |url = https://support.apple.com/kb/PH25642?locale=zh_HK|title = 使用模擬滑鼠控制指標|publisher = Apple|language = zh-hant|accessdate = 2017年7月11日}}</ref>,是在[[图形用户界面|圖形使用者介面]]上的功能,使用者能用[[电脑键盘|鍵盤]]上的按鍵(通常是數字鍵)作[[定點裝置]](主要是用作取代[[鼠标|滑鼠]])。早年在[[可視編輯器]]上能用[[方向鍵]]移動[[遊標]],滑鼠鍵起源於此。過去[[終端|終端機]]通常沒有配備滑鼠,故滑鼠鍵是主要的定點裝置。自後滑鼠變得普遍後,滑鼠鍵則變成輔助性質,通常在以下的情況使用: *精準作業(如:[[工業繪圖]]) *方便[[身心障礙|殘障人士]] *環境限制,例如在搖擺的車廂中 *定點裝置壞掉 現今的滑鼠鍵大多是根據[[X Window系統]]在1984年製定、以數字鍵操作的標準。<ref>{{citation|url=http://www.xfree86.org/current/XKBproto.pdf|title=The X Keyboard Extension: Protocol Specification|date=1997年11月6日|access-date=2017年7月11日|archive-date=2004年4月10日|archive-url=https://web.archive.org/web/20040410011533/http://www.xfree86.org/current/XKBproto.pdf|dead-url=yes}}</ref><ref name="xwin">{{citation|url=http://www.xfree86.org/current/XKBlib.pdf|title=The X Keyboard Extension: Library Specification|chapter=10.5 Controls for Using the Mouse from the Keyboard|date=1997年11月10日|access-date=2017年7月11日|archive-date=2004年12月26日|archive-url=https://web.archive.org/web/20041226230731/http://www.xfree86.org/current/XKBlib.pdf|dead-url=yes}}</ref> ==佈局== [[Image:X window system MouseKeys default numpad layout.svg|thumb|left|X Window系統上滑鼠鍵的預設佈局]] {| class="wikitable" |- ! key ! action |- ! [[數字鎖定鍵|Num Lock]] | 與{{键盘按钮|Alt}}、{{键盘按钮|Shift}}一起按: 啟用/停用滑鼠鍵 |- ! 8 | 向上移動 |- ! 2 | 向下移動 |- ! 6 | 向右移動 |- ! 4 | 向左移動 |- ! 7 | 向左上移動 |- ! 9 | 向右上移動 |- ! 3 | 向右下移動 |- ! 1 | 向左下移動 |- ! / | [[X Window核心協議#映射|選擇主鍵]] |- ! * | [[X Window核心協議#映射|選擇修飾鍵]] |- ! - | [[X Window核心協議#映射|選擇替代鍵]] |- ! 5 | [[單擊]] |- ! + | [[雙擊]] |- ! 0 | [[拖放|長按按鍵]] |- ! . | [[拖放|放開按鍵]] |- ! Enter | [[回車鍵|輸入鍵]] |} ==MouseKeysAccel== [[Image:X Protocol MouseKeysAccel Control Trajectory.svg|thumb|left|X window system MouseKeysAccel trajectory]] {| class="wikitable" |- ! 參數 ! 意思 |- ! mk_delay | 按下按鍵和開始加速之間的時間(毫秒) |- ! mk_interval | 重複運動事件之間的時間(毫秒) |- ! mk_max_speed | 最高速度 |- ! mk_time_to_max | 加速至最高速度的時間 |- ! mk_curve | 加速度 |} 此5項參數都可被設定。<ref>[http://library.gnome.org/users/gnome-access-guide/stable/dtconfig-mousekeys.html.en GNOME Documentation Library, Configuring a Keyboard-Based Mouse] {{webarchive|url=https://web.archive.org/web/20100612115254/http://library.gnome.org/users/gnome-access-guide/stable/dtconfig-mousekeys.html.en |date=2010-06-12 }}</ref> [[X視窗系統|X Window System]]的MouseKeysAccel決定了游標的加速度。<ref name="xwin"/>按下方向鍵的一瞬間,游標會移動一段距離,取決於''action_delta''。過了''mk_delay''後,假如按鍵未放開,游標會加速移動,直到過了前''mk_time_to_max''後,游標就會以''mk_max_speed''勻速移動。 游標移動速度以[[指數增長]]。 <math> \mathrm{action\_delta} \times \mathrm{mk\_max\_speed} \times \left( \frac{ i } { \mathrm{mk\_time\_to\_max} } \right) ^{\frac{ 1000 + \mathrm{mk\_curve} } { 1000 }} </math> {| class="wikitable" |- ! mk_curve ! 移動 |- ! -1000 | 勻速移動 |- ! 0 | 勻加速運動,速度直線上升 |- ! 1000 | 勻[[加加速度]]運動,加速度直線上升 |} ==啟用== 在使用[[X Window System]]的[[X.Org Server|Xorg]]和[[XFree86]]等[[類Unix系統]],如[[Linux]]、[[BSD]]和[[AIX]],啟用和停用滑鼠鍵的快速鍵的非官方標準是{{键盘按钮|Shift}}+{{键盘按钮|Alt}}+{{键盘按钮|Num Lock}}<ref name="xwin"/>,有時沒有加速度的滑鼠鍵可以透過{{键盘按钮|Shift}}+{{键盘按钮|Num Lock}}啟用,這取決於[[視窗管理員]],而且都可在設定檔修改。在Xorg下,setxkbmap可用來啟用滑鼠鍵。<ref>{{cite web |url=http://manpages.ubuntu.com/manpages/precise/man7/xkeyboard-config.7.html |title=xkeyboard-config manual page |date=2012年 |access-date=2015年3月15日 |archive-date=2021年2月25日 |archive-url=https://web.archive.org/web/20210225052959/http://manpages.ubuntu.com/manpages/precise/man7/xkeyboard-config.7.html |dead-url=no }}</ref> <code>setxkbmap -option keypad:pointerkeys</code> 另外亦有程式可以重新設定滑鼠按鍵,如[http://beesbuzz.biz/code/xmousekeys.php xmousekeys] {{Wayback|url=http://beesbuzz.biz/code/xmousekeys.php |date=20131012045054 }}和[http://www.semicomplete.com/projects/xdotool/ xdotool] {{Wayback|url=http://www.semicomplete.com/projects/xdotool/ |date=20210420081910 }}。 在[[macOS]]上可在「系統偏好設定」→「輔助使用」→「滑鼠與觸控式軌跡板」啟用滑鼠鍵,也可以按下快速鍵{{键盘按钮|Opt}}+{{键盘按钮|Cmd}}+{{键盘按钮|F5}},或快速按下Touch Bar上的Touch ID 三次。<ref name="mac"/> 在[[Windows]]可在「控制面板」→「輕鬆存取中心」→「-{zh-hans:使鼠标更易于使用;zh-hant:讓滑鼠更容易使用;}-」→「使用鍵盤控制滑鼠」啟用滑鼠鍵<ref>{{Cite web|url = https://support.microsoft.com/zh-hk/help/14204/windows-7-use-mouse-keys-to-move-mouse-pointer|title = 使用滑鼠鍵移動滑鼠指標|publisher = Microsoft|language = zh-hant|accessdate = 2017年7月11日|archive-date = 2020年8月19日|archive-url = https://web.archive.org/web/20200819135102/https://support.microsoft.com/zh-hk/help/14204/windows-7-use-mouse-keys-to-move-mouse-pointer|dead-url = no}}</ref>,或按下快速鍵左邊{{键盘按钮|Alt}}+{{键盘按钮|Shift}}+{{键盘按钮|Num Lock}}。<ref>{{Cite web|url = https://support.microsoft.com/zh-hk/help/13810/windows-keyboard-shortcuts-accessibility|title = 協助工具的 Windows 鍵盤快速鍵|publisher = Microsoft|language = zh-hant|accessdate = 2017年7月11日|archive-date = 2020年7月2日|archive-url = https://web.archive.org/web/20200702105412/https://support.microsoft.com/zh-hk/help/13810/windows-keyboard-shortcuts-accessibility|dead-url = no}}</ref> ==參考資料== {{Reflist}} [[Category:電腦輸入裝置]] [[Category:用戶界面技術]] [[Category:人因工程學]]
该页面使用的模板:
Template:Citation
(
查看源代码
)
Template:Cite web
(
查看源代码
)
Template:NoteTA
(
查看源代码
)
Template:Reflist
(
查看源代码
)
Template:Wayback
(
查看源代码
)
Template:Webarchive
(
查看源代码
)
Template:键盘按钮
(
查看源代码
)
返回
滑鼠鍵
。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息