summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-02-07 20:12:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-02-07 20:12:13 +0000
commitce4a553dc6a86b6f35a7b7c646081e020611fbe6 (patch)
tree15cc22ae4718c3c308ab4eebc67fe95b5d2e42d8 /distrib
parent704853124d2372e3c9ca1de061c9ab37a807ac39 (diff)
update the mousekeys patch.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/notes/README.macppc35
1 files changed, 18 insertions, 17 deletions
diff --git a/distrib/notes/README.macppc b/distrib/notes/README.macppc
index a0dd2aa82..4a0def31e 100644
--- a/distrib/notes/README.macppc
+++ b/distrib/notes/README.macppc
@@ -1,7 +1,7 @@
Post-installation instructions for X.Org on OpenBSD/macppc
----------------------------------------------------------
-OpenBSD uses the X.Org X server on macppc.
+OpenBSD uses the X.Org X server on macppc.
Accelerated drivers
-------------------
@@ -21,7 +21,7 @@ You need to set machdep.allowaperture to 2 in /etc/sysctl.conf in
order to be able to use the X.Org accelerated drivers.
-Unaccelerated, framebuffer driver
+Unaccelerated, framebuffer driver
---------------------------------
The wsfb driver uses whatever graphics mode the console is set to
@@ -38,7 +38,8 @@ Mousekeys (Or how to deal with a One Button Mouse)
Using the mousekeys feature of Xorg, it is possible to emulate
button2 and button3, since Apple does not seem to build hardware with
them. Other mouse operations can also be emulated using the keyboard.
-To see the default key mappings, look at /etc/X11/xkb/compat/mousekeys.
+To see the default key mappings, look at
+/usr/X11R6/share/X11/xkb/compat/mousekeys.
These are not enabled by default. It is necessary to bind a key to
the Pointer_EnableKeys action. For the PBG4 a good setting for
this is using the Enter key next to or near the space bar (US keymap).
@@ -60,26 +61,26 @@ this is not specific to the PBG4. It changes the default mousekey
behavior of the keypad 0 and keypad Decimal (period) to act as mouse
button 2 and mouse button 3 respectively.
---- mousekeys.orig Sat Oct 13 11:09:31 2001
-+++ /etc/X11/xkb/compat/mousekeys Sat Oct 13 11:12:34 2001
-@@ -104,14 +104,14 @@
+--- mousekeys.orig Tue Feb 7 20:27:31 2012
++++ mousekeys Tue Feb 7 21:10:47 2012
+@@ -101,14 +101,14 @@
};
-
- interpret KP_0 {
-- action = LockPointerButton(button=default,affect=lock);
+
+ interpret KP_0 {
+- action = LockPointerButton(button=default,affect=lock);
+ action= PointerButton(button=2);
};
- interpret KP_Insert {
- action = LockPointerButton(button=default,affect=lock);
+ interpret KP_Insert {
+ action = LockPointerButton(button=default,affect=lock);
};
-
- interpret KP_Decimal {
-- action = LockPointerButton(button=default,affect=unlock);
+
+ interpret KP_Decimal {
+- action = LockPointerButton(button=default,affect=unlock);
+ action= PointerButton(button=3);
};
- interpret KP_Delete {
- action = LockPointerButton(button=default,affect=unlock);
+ interpret KP_Delete {
+ action = LockPointerButton(button=default,affect=unlock);
problem_blurb
-$OpenBSD: README.macppc,v 1.8 2010/09/17 08:09:13 ajacoutot Exp $
+$OpenBSD: README.macppc,v 1.9 2012/02/07 20:12:12 matthieu Exp $