Skip to content

Commit cc481d5

Browse files
Added support for 0b05:19b6 (GA503) keyboard
Signed-off-by: black.dragon74 <nickk.2974@gmail.com>
1 parent 02dfc5a commit cc481d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Aura Core software. Supports RGB keyboards with IDs
77
[0b05:1854](https://linux-hardware.org/index.php?id=usb:0b05-1854)
88
(GL553, GL753),
99
[0b05:1869](https://linux-hardware.org/index.php?id=usb:0b05-1869)
10-
(GL503, FX503, GL703) and [0b05:1866](https://linux-hardware.org/index.php?id=usb:0b05-1866) (GL504, GL703, GX501, GM501).
10+
(GL503, FX503, GL703), [0b05:1866](https://linux-hardware.org/index.php?id=usb:0b05-1866) (GL504, GL703, GX501, GM501), and [0b05:19b6](https://linux-hardware.org/index.php?id=usb:0b05-19b6) (GA503).
1111

1212
## Usage
1313

macRogAuraCore/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ static int get_string_property(IOHIDDeviceRef device, CFStringRef prop, wchar_t
476476

477477
// Vendor specific constants
478478
const uint16_t ASUS_VENDOR_ID = 0x0b05;
479-
const uint16_t ASUS_PRODUCT_IDS[] = { 0x1854, 0x1869, 0x1866 };
479+
const uint16_t ASUS_PRODUCT_IDS[] = { 0x1854, 0x1869, 0x1866, 0x19b6 };
480480
const int NUM_ASUS_PRODUCTS = (int)(sizeof(ASUS_PRODUCT_IDS) / sizeof(ASUS_PRODUCT_IDS[0]));
481481

482482
int handleUsb(Messages *pMessages) {
@@ -554,8 +554,8 @@ int main(int argc, char** argv) {
554554
pMessages.setAndApply = 1;
555555

556556
if (parseArguments(argc, (char**)argv, &pMessages) == 0) {
557-
handleUsb(&pMessages);
557+
return handleUsb(&pMessages);
558558
}
559559

560-
return 0;
560+
return -1;
561561
}

0 commit comments

Comments
 (0)