-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from uejji/msiclaw
Add MSI Claw support
- Loading branch information
Showing
10 changed files
with
64 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff -rupN linux-6.10.10.orig/drivers/input/joystick/xpad.c linux-6.10.10/drivers/input/joystick/xpad.c | ||
--- linux-6.10.10.orig/drivers/input/joystick/xpad.c 2024-09-12 09:13:13.000000000 +0000 | ||
+++ linux-6.10.10/drivers/input/joystick/xpad.c 2024-09-16 02:50:37.275238764 +0000 | ||
@@ -218,6 +218,7 @@ static const struct xpad_device { | ||
{ 0x0c12, 0x8810, "Zeroplus Xbox Controller", 0, XTYPE_XBOX }, | ||
{ 0x0c12, 0x9902, "HAMA VibraX - *FAULTY HARDWARE*", 0, XTYPE_XBOX }, | ||
{ 0x0d2f, 0x0002, "Andamiro Pump It Up pad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX }, | ||
+ { 0x0db0, 0x1901, "Micro Star International Xbox360 Controller for Windows", 0, XTYPE_XBOX360 }, | ||
{ 0x0e4c, 0x1097, "Radica Gamester Controller", 0, XTYPE_XBOX }, | ||
{ 0x0e4c, 0x1103, "Radica Gamester Reflex", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX }, | ||
{ 0x0e4c, 0x2390, "Radica Games Jtech Controller", 0, XTYPE_XBOX }, | ||
@@ -492,6 +493,7 @@ static const struct usb_device_id xpad_t | ||
XPAD_XBOX360_VENDOR(0x07ff), /* Mad Catz Gamepad */ | ||
XPAD_XBOXONE_VENDOR(0x0b05), /* ASUS controllers */ | ||
XPAD_XBOX360_VENDOR(0x0c12), /* Zeroplus X-Box 360 controllers */ | ||
+ XPAD_XBOX360_VENDOR(0x0db0), /* Micro Star International X-Box 360 controllers */ | ||
XPAD_XBOX360_VENDOR(0x0e6f), /* 0x0e6f Xbox 360 controllers */ | ||
XPAD_XBOXONE_VENDOR(0x0e6f), /* 0x0e6f Xbox One controllers */ | ||
XPAD_XBOX360_VENDOR(0x0f0d), /* Hori controllers */ |
28 changes: 0 additions & 28 deletions
28
PKGBUILD/linux/0099-add-ayaneo-and-ayn-platform-drivers.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff -rupN linux-6.11.orig/drivers/Kconfig linux-6.11/drivers/Kconfig | ||
--- linux-6.11.orig/drivers/Kconfig 2024-09-27 20:25:26.382542648 +0000 | ||
+++ linux-6.11/drivers/Kconfig 2024-09-27 21:34:59.799737160 +0000 | ||
@@ -245,4 +245,10 @@ source "drivers/cdx/Kconfig" | ||
|
||
source "drivers/dpll/Kconfig" | ||
|
||
+# External device drivers | ||
+ | ||
+source "drivers/ayaneo-platform/Kconfig" | ||
+source "drivers/ayn-platform/Kconfig" | ||
+source "drivers/hid-msi-claw/Kconfig" | ||
+ | ||
endmenu | ||
diff -rupN linux-6.11.orig/drivers/Makefile linux-6.11/drivers/Makefile | ||
--- linux-6.11.orig/drivers/Makefile 2024-09-27 20:25:26.382542648 +0000 | ||
+++ linux-6.11/drivers/Makefile 2024-09-27 21:35:10.632797513 +0000 | ||
@@ -193,3 +193,9 @@ obj-$(CONFIG_CDX_BUS) += cdx/ | ||
obj-$(CONFIG_DPLL) += dpll/ | ||
|
||
obj-$(CONFIG_S390) += s390/ | ||
+ | ||
+# External device drivers | ||
+ | ||
+obj-$(CONFIG_AYANEO_PLATFORM) += ayaneo-platform/ | ||
+obj-$(CONFIG_AYN_PLATFORM) += ayn-platform/ | ||
+obj-$(CONFIG_HID_MSI_CLAW) += hid-msi-claw/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...hwsupport/devicequirks/Micro-Star-International-Co.,-Ltd.-Claw-A1M/boot.d/001-setkeycodes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
# Temporary(?) hack to get special face buttons working. | ||
setkeycodes e039 186 | ||
setkeycodes e03a 185 |
2 changes: 2 additions & 0 deletions
2
...ork_hwsupport/devicequirks/Micro-Star-International-Co.,-Ltd.-Claw-A1M/hardware_quirks.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
export GAMESCOPE_RES="-w 1280 -h 720" |
1 change: 1 addition & 0 deletions
1
.../steamfork_hwsupport/devicequirks/Micro-Star-International-Co.,-Ltd.-Claw-A1M/modules.bad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
iwlmvm iwlwifi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters