Merge lp:~clissold345/ubuntu-docs/fix-for-964727 into lp:~ubuntu-core-doc/ubuntu-docs/trunk2017-07-10

Proposed by Chris Perry
Status: Merged
Merged at revision: 573
Proposed branch: lp:~clissold345/ubuntu-docs/fix-for-964727
Merge into: lp:~ubuntu-core-doc/ubuntu-docs/trunk2017-07-10
Diff against target: 206 lines (+146/-25)
1 file modified
ubuntu-help/C/mouse-mousekeys.page (+146/-25)
To merge this branch: bzr merge lp:~clissold345/ubuntu-docs/fix-for-964727
Reviewer Review Type Date Requested Status
Gunnar Hjalmarsson Approve
Review via email: mp+312974@code.launchpad.net

Description of the change

Please see the comment I added to the bug report:

https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/964727

To post a comment you must log in.
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your work with this, Chris.

You addressed the bug reporter's request by dropping the "most keyboards..." para, and the change of step 4 was apparently necessary (probably the last tab was not present when the page was written originally).

I have a few thoughts.

This sentence: "With mouse keys there are three buttons: primary, alternate, and modifier." confuses me. Which buttons? I don't see any buttons. Shouldn't it rather be three modes or three levels? Or am I missing something? (I see on the Wikipedia page that the term "button" is used, but it doesn't make me understand it better.) Can you somehow explain/justify the use of the term "button" in this context?

Personally I think the table is redundant. The clarifications you added through the bullet points already covers it, don't they?

review: Needs Information
Revision history for this message
Chris Perry (clissold345) wrote :

Hi Gunnar

Have you tried mouse keys out? I found it made more sense when I tried it out. One of my laptops has a (real) numeric keypad, which was useful.

My take on mouse keys is that it simulates a pointing and clicking device with three buttons (eg a three-button mouse - but not necessarily a mouse - other pointing and clicking devices are available). The wikipedia page just uses the term button (without quotes), so I've copied that. Of course there is no physical button/buttons, so it could perhaps be termed a virtual button?

I'd say that the page needs to give the meaning/action of all the mouse keys. My examples just cover the main examples, they don't cover all the the mouse keys actions. Eg the examples don't cover all the navigation keys. Also - though this is a bit specialized - mouse keys provides three kinds of drag and drop and my examples only cover one kind (though I'm not sure if any applications distinguish between the different drags and drops). I've given the meaning/action of the keys using a table (adapting the table in the wikipedia page) but I think the info could be given a different way (eg in a diagram?).

Does the above make sense?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Yep, I tried it out. Not extensively, though. You are right, it does simulate the mouse buttons. I withdraw my objection on that one.

Still hesitating wrt to the table, but you did the work and I trust your feeling for how much info is motivated.

Your changes improve the page significantly, btw. Thanks again!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ubuntu-help/C/mouse-mousekeys.page'
--- ubuntu-help/C/mouse-mousekeys.page 2013-09-15 00:45:58 +0000
+++ ubuntu-help/C/mouse-mousekeys.page 2016-12-10 19:51:44 +0000
@@ -34,11 +34,13 @@
34control the mouse pointer using the numeric keypad on your keyboard. This34control the mouse pointer using the numeric keypad on your keyboard. This
35feature is called <em>mouse keys</em>.</p>35feature is called <em>mouse keys</em>.</p>
3636
37<p>To enable mouse keys using the keyboard:</p>
38
37<steps>39<steps>
38 <item><p>Tap the <key><link xref="windows-key">Super</link></key> key to open the <gui>Dash</gui>.</p></item>40 <item><p>Tap the <key><link xref="windows-key">Super</link></key> key to open the <gui>Dash</gui>.</p></item>
39 <item><p>Type <input>Universal Access</input> and press <key>Enter</key> to open the Universal Access settings.</p></item>41 <item><p>Type <input>Universal Access</input> and press <key>Enter</key> to open the Universal Access settings.</p></item>
40 <item><p>Press <key>Tab</key> once to select the <gui>Seeing</gui> tab.</p></item>42 <item><p>Press <key>Tab</key> once to select the <gui>Seeing</gui> tab.</p></item>
41 <item><p>Press <key>←</key> once to switch to the <gui>Pointing and Clicking</gui> tab.</p></item>43 <item><p>Press <key>←</key> twice to switch to the <gui>Pointing and Clicking</gui> tab.</p></item>
42 <item><p>Press <key>↓</key> once to select the <gui>Mouse Keys</gui> switch then press <key>Enter</key> to switch it on.</p></item>44 <item><p>Press <key>↓</key> once to select the <gui>Mouse Keys</gui> switch then press <key>Enter</key> to switch it on.</p></item>
43 <item>45 <item>
44 <p>46 <p>
@@ -49,39 +51,157 @@
49</steps>51</steps>
5052
51 <note style = "tip">53 <note style = "tip">
52 <p>These instructions provide the shortest way to enable mouse keys using54 <p>The above instructions provide the shortest way to enable mouse keys using
53 only the keyboard. Select <gui>Universal Access Settings</gui> to see more55 only the keyboard. See <gui>Universal Access</gui> settings for more
54 accessibility options.</p>56 accessibility options.</p>
55 </note>57 </note>
5658
57<p>59<p></p>
58The keypad is a set of numerical buttons on your keyboard, usually arranged60
59into a square grid. If you have a keyboard without a keypad (such as a laptop61<p>
60keyboard), you may need to hold down the function (<key>Fn</key>)62The numeric keypad is a set of numerical buttons on your keyboard, usually arranged
63into a square grid. With mouse keys there are three buttons: primary, alternate, and modifier. Initially the primary button is selected.
64Here are some examples of how to use mouse keys:</p>
65
66<list type="circle">
67
68 <item><p>
69Each number on the keypad (except 0 and 5) corresponds to a direction. For example, pressing
70<key>8</key> will move the pointer upwards and pressing <key>2</key> will move
71it downwards.
72</p></item>
73
74 <item><p>
75To click the selected button, press <key>5</key>.
76</p></item>
77
78 <item><p>
79To double-click the selected button, quickly press
80<key>5</key> twice or press <key>+</key> once.
81</p></item>
82
83 <item><p>
84To right click,
85press <key>-</key> to select the alternate button (if it is not already selected) and press <key>5</key>.
86</p></item>
87
88 <item><p>
89To middle click,
90press <key>*</key> to select the modifier button (if it is not already selected) and press <key>5</key>.
91</p></item>
92
93
94 <item><p>
95To drag and drop using the primary button,
96press <key>/</key> to select the primary button (if it is not already selected),
97press <key>0</key> to depress the button, drag the pointer to the required position, and
98press <key>.</key> to release the button.
99</p></item>
100
101
102</list>
103
104<p>
105 </p>
106<p>Here is a table of mouse keys and their actions:</p>
107
108
109<table frame="top bottom" rules="rows">
110
111 <tr>
112 <td><p><em>Key</em></p></td>
113 <td><p><em>Action</em></p></td>
114 </tr>
115 <tr>
116 <td><p><key>8</key></p></td>
117 <td><p>Pointer up</p></td>
118 </tr>
119 <tr>
120 <td><p><key>2</key></p></td>
121 <td><p>Pointer down</p></td>
122 </tr>
123 <tr>
124 <td><p><key>6</key></p></td>
125 <td><p>Pointer right</p></td>
126 </tr>
127 <tr>
128 <td><p><key>4</key></p></td>
129 <td><p>Pointer left</p></td>
130 </tr>
131
132 <tr>
133 <td><p><key>7</key></p></td>
134 <td><p>Pointer up and left</p></td>
135 </tr>
136 <tr>
137 <td><p><key>9</key></p></td>
138 <td><p>Pointer up and right</p></td>
139 </tr>
140 <tr>
141 <td><p><key>3</key></p></td>
142 <td><p>Pointer down and right</p></td>
143 </tr>
144 <tr>
145 <td><p><key>1</key></p></td>
146 <td><p>Pointer down and left</p></td>
147 </tr>
148
149 <tr>
150 <td><p><key>/</key></p></td>
151 <td><p>Select the primary button. On a mouse the primary button is usually the left button</p></td>
152 </tr>
153 <tr>
154 <td><p><key>*</key></p></td>
155 <td><p>Select the modifier button. On a mouse the modifier button (if present) is usually the middle button</p></td>
156 </tr>
157 <tr>
158 <td><p><key>-</key></p></td>
159 <td><p>Select the alternate button. On a mouse the alternate button is usually the right button</p></td>
160 </tr>
161 <tr>
162 <td><p><key>5</key></p></td>
163 <td><p>Click selected button</p></td>
164 </tr>
165
166 <tr>
167 <td><p><key>+</key></p></td>
168 <td><p>Double click selected button</p></td>
169 </tr>
170 <tr>
171 <td><p><key>0</key></p></td>
172 <td><p>Depress selected button</p></td>
173 </tr>
174 <tr>
175 <td><p><key>.</key></p></td>
176 <td><p>Release selected button</p></td>
177 </tr>
178
179</table>
180
181<p>
182</p>
183
184<note>
185<p>If you have a keyboard without a keypad (as with some laptops),
186you may need to hold down the function (<key>Fn</key>)
61key and use certain other keys on your keyboard as a keypad. If you use this187key and use certain other keys on your keyboard as a keypad. If you use this
62feature often on a laptop, you can purchase external USB keypads.188feature often, you may wish to purchase an external USB keypad.
63</p>189</p>
64190</note>
65<p>191
66Each number on the keypad corresponds to a direction. For example, pressing192<p>
67<key>8</key> will move the pointer upwards and pressing <key>2</key> will move193</p>
68it downwards. Press the <key>5</key> key to click once with the mouse, or194
69quickly press it twice to double-click.195<note>
70</p>
71
72<p>
73Most keyboards have a special key which
74allows you to right-click; it is often near to the space bar. Note, however,
75that this key responds to where your keyboard focus is, not where your mouse
76pointer is. See <link xref="a11y-right-click"/> for information on how to
77right-click by holding down <key>5</key> or the left mouse button.
78</p>
79
80<p>196<p>
81If you want to use the keypad to type numbers while mouse keys is enabled, turn197If you want to use the keypad to type numbers while mouse keys is enabled, turn
82<key>Num Lock</key> on. The mouse cannot be controlled with the keypad when198<key>Num Lock</key> on. The mouse cannot be controlled with the keypad when
83<key>Num Lock</key> is turned on, though.199<key>Num Lock</key> is turned on, though.
84</p>200</p>
201</note>
202
203<p>
204</p>
85205
86<note>206<note>
87 <p>207 <p>
@@ -90,4 +210,5 @@
90 </p>210 </p>
91</note>211</note>
92212
213
93</page>214</page>

Subscribers

People subscribed via source and target branches