Bruno Prémont | fabdbf2 | 2012-07-30 21:38:28 +0200 | [diff] [blame^] | 1 | /*************************************************************************** |
| 2 | * Copyright (C) 2010-2012 by Bruno Prémont <bonbons@linux-vserver.org> * |
| 3 | * * |
| 4 | * Based on Logitech G13 driver (v0.4) * |
| 5 | * Copyright (C) 2009 by Rick L. Vinyard, Jr. <rvinyard@cs.nmsu.edu> * |
| 6 | * * |
| 7 | * This program is free software: you can redistribute it and/or modify * |
| 8 | * it under the terms of the GNU General Public License as published by * |
| 9 | * the Free Software Foundation, version 2 of the License. * |
| 10 | * * |
| 11 | * This driver is distributed in the hope that it will be useful, but * |
| 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * |
| 14 | * General Public License for more details. * |
| 15 | * * |
| 16 | * You should have received a copy of the GNU General Public License * |
| 17 | * along with this software. If not see <http://www.gnu.org/licenses/>. * |
| 18 | ***************************************************************************/ |
| 19 | |
| 20 | #include <linux/hid.h> |
| 21 | #include <linux/hid-debug.h> |
| 22 | #include <linux/input.h> |
| 23 | #include "hid-ids.h" |
| 24 | #include "usbhid/usbhid.h" |
| 25 | #include <linux/usb.h> |
| 26 | |
| 27 | #include <linux/fb.h> |
| 28 | #include <linux/vmalloc.h> |
| 29 | #include <linux/backlight.h> |
| 30 | #include <linux/lcd.h> |
| 31 | |
| 32 | #include <linux/leds.h> |
| 33 | |
| 34 | #include <linux/seq_file.h> |
| 35 | #include <linux/debugfs.h> |
| 36 | |
| 37 | #include <linux/completion.h> |
| 38 | #include <linux/uaccess.h> |
| 39 | #include <linux/module.h> |
| 40 | |
| 41 | #include "hid-picolcd.h" |
| 42 | |
| 43 | |
| 44 | int picolcd_raw_cir(struct picolcd_data *data, |
| 45 | struct hid_report *report, u8 *raw_data, int size) |
| 46 | { |
| 47 | /* Need understanding of CIR data format to implement ... */ |
| 48 | return 1; |
| 49 | } |
| 50 | |
| 51 | /* initialize CIR input device */ |
| 52 | int picolcd_init_cir(struct picolcd_data *data, struct hid_report *report) |
| 53 | { |
| 54 | /* support not implemented yet */ |
| 55 | return 0; |
| 56 | } |
| 57 | |
| 58 | void picolcd_exit_cir(struct picolcd_data *data) |
| 59 | { |
| 60 | } |
| 61 | |