/* * HID driver for Elecom BM084 (bluetooth mouse). * Removes a non-existing horizontal wheel from * the HID descriptor. * (This module is based on "hid-ortek".) * * Copyright (c) 2010 Richard Nauber <Richard.Nauber@gmail.com> */ /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. */ #include <linux/device.h> #include <linux/hid.h> #include <linux/module.h> #include "hid-ids.h"
static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) { if (*rsize >= 48 && rdesc[46] == 0x05 && rdesc[47] == 0x0c) { hid_info(hdev, "Fixing up Elecom BM084 report descriptor\n"); rdesc[47] = 0x00; } return rdesc; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Richard Nauber | 52 | 85.25% | 1 | 33.33% |
Nikolai Kondrashov | 7 | 11.48% | 1 | 33.33% |
Joe Perches | 2 | 3.28% | 1 | 33.33% |
Total | 61 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Richard Nauber | 123 | 91.79% | 1 | 25.00% |
Nikolai Kondrashov | 7 | 5.22% | 1 | 25.00% |
Joe Perches | 2 | 1.49% | 1 | 25.00% |
H Hartley Sweeten | 2 | 1.49% | 1 | 25.00% |
Total | 134 | 100.00% | 4 | 100.00% |