Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186524
b: refs/heads/master
c: 2c62116
h: refs/heads/master
v: v3
  • Loading branch information
Ameya Palande authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 8a87ee3 commit eb9714d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d753fa1df300fe9215a08603f1f8ac18825839eb
refs/heads/master: 2c6211606dafaeec51e471cd6aa277fbf45fe80c
24 changes: 0 additions & 24 deletions trunk/drivers/staging/mimio/mimio.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,23 +505,6 @@ static int mimio_probe(struct usb_interface *ifc,
input_set_abs_params(input_dev, ABS_Y, 0, MIMIO_YRANGE_MAX, 0, 0);
input_dev->absbit[BIT_WORD(ABS_MISC)] |= BIT_MASK(ABS_MISC);

#if 0
input_dev->absmin[ABS_X] = 0;
input_dev->absmin[ABS_Y] = 0;
input_dev->absmax[ABS_X] = 9600;
input_dev->absmax[ABS_Y] = 4800;
input_dev->absfuzz[ABS_X] = 0;
input_dev->absfuzz[ABS_Y] = 0;
input_dev->absflat[ABS_X] = 0;
input_dev->absflat[ABS_Y] = 0;
#endif

#if 0
/* this will just reduce the precision */
input_dev->absfuzz[ABS_X] = 8; /* experimental; may need to change */
input_dev->absfuzz[ABS_Y] = 8; /* experimental; may need to change */
#endif

/*
* Register the input device.
*/
Expand Down Expand Up @@ -720,13 +703,6 @@ static void mimio_rx_handler(struct mimio *mimio,
if (instr_ofst[mimio->pktbuf.instr] >= 0) {
int code = BTN_TOOL_PEN +
instr_ofst[mimio->last_pen_down];
#if 0
/* Utter hack to ensure we get forwarded _AND_
* so we can identify when a complete signal is
* received */
mimio->idev->abs[ABS_Y] = -1;
mimio->idev->abs[ABS_X] = -1;
#endif
/* input_regs(mimio->idev, regs); */
input_report_abs(mimio->idev, ABS_X, x);
input_report_abs(mimio->idev, ABS_Y, y);
Expand Down

0 comments on commit eb9714d

Please sign in to comment.