Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309041 Details for
Bug 446660
evdev no longer recognizes mouse thumb button (mx revolution)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Honor button presses from mice with a lot of buttons
xf86-input-evdev-more-buttons.patch (text/plain), 2.64 KB, created by
Bob Richmond
on 2008-06-12 07:49:00 UTC
(
hide
)
Description:
Honor button presses from mice with a lot of buttons
Filename:
MIME Type:
Creator:
Bob Richmond
Created:
2008-06-12 07:49:00 UTC
Size:
2.64 KB
patch
obsolete
>*** src/evdev.c.orig 2008-03-14 08:21:02.000000000 -0700 >--- src/evdev.c 2008-06-12 00:30:00.000000000 -0700 >*************** >*** 252,302 **** > break; > > case EV_KEY: >! /* don't repeat mouse buttons */ >! if (ev.code >= BTN_MOUSE && ev.code < KEY_OK) >! if (value == 2) >! break; >! >! switch (ev.code) { >! /* swap here, pretend we're an X-conformant device. */ >! case BTN_LEFT: >! xf86PostButtonEvent(pInfo->dev, 0, 1, value, 0, 0); >! break; >! case BTN_RIGHT: >! xf86PostButtonEvent(pInfo->dev, 0, 3, value, 0, 0); >! break; >! case BTN_MIDDLE: >! xf86PostButtonEvent(pInfo->dev, 0, 2, value, 0, 0); >! break; >! >! case BTN_SIDE: >! case BTN_EXTRA: >! case BTN_FORWARD: >! case BTN_BACK: >! case BTN_TASK: >! xf86PostButtonEvent(pInfo->dev, 0, ev.code - BTN_LEFT + 5, > value, 0, 0); >! break; >! >! case BTN_TOUCH: >! case BTN_TOOL_PEN: >! case BTN_TOOL_RUBBER: >! case BTN_TOOL_BRUSH: >! case BTN_TOOL_PENCIL: >! case BTN_TOOL_AIRBRUSH: >! case BTN_TOOL_FINGER: >! case BTN_TOOL_MOUSE: >! case BTN_TOOL_LENS: >! pEvdev->tool = value ? ev.code : 0; >! break; >! >! default: >! if (ev.code > BTN_TASK && ev.code < KEY_OK) >! break; >! > PostKbdEvent(pInfo, &ev, value); >! break; >! } > break; > > case EV_SYN: >--- 252,278 ---- > break; > > case EV_KEY: >! if (ev.code >= BTN_MOUSE && ev.code < KEY_OK) { >! /* don't repeat mouse buttons */ >! if (value == 2) >! break; >! >! /* swap here, pretend we're an X-conformant device. */ >! else if (ev.code == BTN_LEFT) >! xf86PostButtonEvent(pInfo->dev, 0, 1, value, 0, 0); >! else if (ev.code == BTN_RIGHT) >! xf86PostButtonEvent(pInfo->dev, 0, 3, value, 0, 0); >! else if (ev.code == BTN_MIDDLE) >! xf86PostButtonEvent(pInfo->dev, 0, 2, value, 0, 0); >! >! else if (ev.code >= BTN_DIGI && ev.code <= BTN_TOUCH) >! pEvdev->tool = value ? ev.code : 0; >! else >! xf86PostButtonEvent(pInfo->dev, 0, ev.code - BTN_LEFT + 5, > value, 0, 0); >! } else > PostKbdEvent(pInfo, &ev, value); >! > break; > > case EV_SYN:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 446660
:
305810
|
305811
| 309041