Skip to content

Commit

Permalink
update driver to version 1.3
Browse files Browse the repository at this point in the history
* Increase Saturn controller comms delay
  • Loading branch information
marqs committed Oct 9, 2024
1 parent b269972 commit 4318dc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion db9_gpio_rpi/db9_gpio_rpi-dkms-mkdeb/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DEBIAN_PACKAGE-dkms (MODULE_VERSION) stable; urgency=low

* Fix build on recent kernels.
* Increase Saturn controller comms delay.

-- Markus Hiienkari <[email protected]> DATE_STAMP

4 changes: 2 additions & 2 deletions db9_gpio_rpi/db9_gpio_rpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ static u32 __init db9_bcm_model_probe(void) {
/*
* Saturn controllers
*/
#define DB9_SATURN_DELAY 1
#define DB9_SATURN_DELAY 7
#define DB9_SATURN_ANALOG_DELAY 7
static const int db9_saturn_byte[] = { 1, 1, 1, 2, 2, 2, 2, 2, 1 };
static const unsigned char db9_saturn_mask[] = { 0x04, 0x01, 0x02, 0x40, 0x20, 0x10, 0x08, 0x80, 0x08 };
Expand Down Expand Up @@ -489,7 +489,7 @@ static void db9_timer(unsigned long private)
input_report_key(dev, BTN_TRIGGER, ~data & psb[i][DB9_FIRE1]);
input_report_key(dev, BTN_THUMB, ~data & psb[i][DB9_FIRE2]);
break;

case DB9_MULTI3_STICK:

data = GPIO_STATUS;
Expand Down
2 changes: 1 addition & 1 deletion db9_gpio_rpi/dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="db9_gpio_rpi"
PACKAGE_VERSION="1.2"
PACKAGE_VERSION="1.3"
CLEAN="make clean"
MAKE[0]="make all KVERSION=$kernelver"
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
Expand Down

0 comments on commit 4318dc1

Please sign in to comment.