Rename main source file, fix KBuild

This commit is contained in:
Oleg
2024-07-15 03:26:50 +03:00
parent b0867e2e6c
commit 03d7fe30c7
2 changed files with 3 additions and 2 deletions

4
Kbuild
View File

@@ -1,3 +1,3 @@
obj-m := hid-new-pidff.o
hid-new-pidff-y := hid-universal-pidff.o hid-pidff.o
obj-m := hid-universal-pidff.o
hid-universal-pidff-y := hid-pidff-wrapper.o hid-pidff.o
ccflags-y := -Idrivers/hid

View File

@@ -83,6 +83,7 @@ err:
static int universal_pidff_input_configured(struct hid_device *hdev,
struct hid_input *hidinput)
{
// Remove fuzz and deadzone
struct input_dev *input = hidinput->input;
input_set_abs_params(input, ABS_X,
input->absinfo[ABS_X].minimum, input->absinfo[ABS_X].maximum, 0, 0);