Skip to content

Commit

Permalink
#96 and misc README changes
Browse files Browse the repository at this point in the history
  • Loading branch information
4JX committed Jan 3, 2023
1 parent 53b14b2 commit 138b7ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">

[![Latest Version](https://img.shields.io/github/v/tag/4JX/L5P-Keyboard-RGB?style=for-the-badge&label=Download+Latest)](https://github.com/4JX/L5P-Keyboard-RGB/releases)
![Build Status](https://img.shields.io/github/workflow/status/4JX/L5P-Keyboard-RGB/Compile%20releases?style=for-the-badge)
![Build Status](https://img.shields.io/github/actions/workflow/status/4JX/L5P-Keyboard-RGB/release-rust.yml?style=for-the-badge)
[![Support Server](https://img.shields.io/discord/819491422327406592?style=for-the-badge)](https://discord.gg/rQEQzsyPe8)
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/4JX/donate)

Expand Down Expand Up @@ -87,7 +87,11 @@ The best way to add a new effect is to directly edit the source code, as it allo
- **2022 Models:**

```sh
# Regular legions
SUBSYSTEM=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="c975", MODE="0666"

# Ideapad models
SUBSYSTEM=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="c973", MODE="0666"
```

- **2021 Models:**
Expand All @@ -98,7 +102,7 @@ SUBSYSTEM=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="c965", MODE="0666"


# Ideapad models
SUBSYSTEM=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="c965", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="048d", ATTR{idProduct}=="c963", MODE="0666"
```

- **2020 Models:**
Expand Down
3 changes: 2 additions & 1 deletion driver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ use std::{

pub mod error;

const KNOWN_DEVICE_INFOS: [(u16, u16, u16, u16); 4] = [
const KNOWN_DEVICE_INFOS: [(u16, u16, u16, u16); 5] = [
(0x048d, 0xc975, 0xff89, 0x00cc), // 2022
(0x048d, 0xc973, 0xff89, 0x00cc), // 2022 Ideapad
(0x048d, 0xc965, 0xff89, 0x00cc), // 2021
(0x048d, 0xc963, 0xff89, 0x00cc), // 2021 Ideapad
(0x048d, 0xc955, 0xff89, 0x00cc), // 2020
Expand Down

0 comments on commit 138b7ff

Please sign in to comment.