Skip to content

Commit

Permalink
Factor common input events code into hid-ginput
Browse files Browse the repository at this point in the history
Also fix some warnings on led function prototypes.

Note that hid-ginput is more like a helper module, factoring common code
and not a driver itself.
  • Loading branch information
CMoH committed Jan 30, 2012
1 parent 21952b4 commit ff943da
Show file tree
Hide file tree
Showing 10 changed files with 900 additions and 2,631 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -4,14 +4,14 @@ ifneq ($(KERNELRELEASE),)
KVERSION = $(shell uname -r)
#EXTRA_CFLAGS=-I$(KDIR)/drivers/hid

obj-m := hid-g13.o hid-g15.o hid-g19.o hid-gfb.o hid-g110.o
obj-m := hid-g13.o hid-g15.o hid-g19.o hid-gfb.o hid-g110.o hid-ginput.o

else

KVERSION = $(shell uname -r)
KDIR := /lib/modules/$(KVERSION)/build
MODULE_INSTALL_DIR := /lib/modules/$(KVERSION)/updates/g-series
MODS := hid-g13.ko hid-g15.ko hid-g19.ko hid-gfb.ko hid-g110.ko
MODS := hid-g13.ko hid-g15.ko hid-g19.ko hid-gfb.ko hid-g110.ko hid-ginput.ko
PWD := $(shell pwd)

default:
Expand All @@ -33,7 +33,7 @@ g110test:
sudo make install

g19rmmod:
sudo rmmod hid-g19 hid-gfb
sudo rmmod hid-g19 hid-gfb hid-ginput

g19insmod:
sudo modprobe hid-g19
Expand Down

0 comments on commit ff943da

Please sign in to comment.