Skip to content

Commit

Permalink
Added support for 0b05:19b6 (GA503) keyboard
Browse files Browse the repository at this point in the history
Signed-off-by: black.dragon74 <nickk.2974@gmail.com>
  • Loading branch information
black-dragon74 committed Jun 25, 2021
1 parent 02dfc5a commit cc481d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Aura Core software. Supports RGB keyboards with IDs
[0b05:1854](https://linux-hardware.org/index.php?id=usb:0b05-1854)
(GL553, GL753),
[0b05:1869](https://linux-hardware.org/index.php?id=usb:0b05-1869)
(GL503, FX503, GL703) and [0b05:1866](https://linux-hardware.org/index.php?id=usb:0b05-1866) (GL504, GL703, GX501, GM501).
(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).

## Usage

Expand Down
6 changes: 3 additions & 3 deletions macRogAuraCore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ static int get_string_property(IOHIDDeviceRef device, CFStringRef prop, wchar_t

// Vendor specific constants
const uint16_t ASUS_VENDOR_ID = 0x0b05;
const uint16_t ASUS_PRODUCT_IDS[] = { 0x1854, 0x1869, 0x1866 };
const uint16_t ASUS_PRODUCT_IDS[] = { 0x1854, 0x1869, 0x1866, 0x19b6 };
const int NUM_ASUS_PRODUCTS = (int)(sizeof(ASUS_PRODUCT_IDS) / sizeof(ASUS_PRODUCT_IDS[0]));

int handleUsb(Messages *pMessages) {
Expand Down Expand Up @@ -554,8 +554,8 @@ int main(int argc, char** argv) {
pMessages.setAndApply = 1;

if (parseArguments(argc, (char**)argv, &pMessages) == 0) {
handleUsb(&pMessages);
return handleUsb(&pMessages);
}

return 0;
return -1;
}

0 comments on commit cc481d5

Please sign in to comment.