summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/mouse.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-05-09 08:32:14 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-05-09 08:32:14 +0000
commit26c2845917cb4661a6e04e3b41d52fdc1338a2c4 (patch)
treef45981f747b35b915c262bf8e1ddaf2f95703cf0 /sys/src/9/pc/mouse.c
parent67856b45077ec20116f1cb658b6686d4cdecbdfa (diff)
kbdfs
Diffstat (limited to 'sys/src/9/pc/mouse.c')
-rw-r--r--sys/src/9/pc/mouse.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/src/9/pc/mouse.c b/sys/src/9/pc/mouse.c
index 282e3595f..66bc1f937 100644
--- a/sys/src/9/pc/mouse.c
+++ b/sys/src/9/pc/mouse.c
@@ -22,8 +22,6 @@ enum
MousePS2= 2,
};
-extern int mouseshifted;
-
static QLock mousectlqlock;
static int mousetype;
static int intellimouse;
@@ -96,11 +94,6 @@ ps2mouseputc(int c, int shift)
int buttons, dx, dy;
/*
- * non-ps2 keyboards might not set shift
- * but still set mouseshifted.
- */
- shift |= mouseshifted;
- /*
* Resynchronize in stream with timing; see comment above.
*/
m = MACHP(0)->ticks;