Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ log = { version = "0.4.29", features = [
] }
mio = { version = "1.1.1", features = ["os-poll", "os-ext", "net"] }
nix = { version = "0.30.1", features = ["fs"] }
num_enum = "0.7.5"
packed_struct = "0.10.1"
procfs = "0.18.0"
rand = "0.9.2"
Expand Down
69 changes: 69 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-razer_tartarus_pro.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/composite_device_v1.json
# Schema version number
version: 1

# The type of configuration schema
kind: CompositeDevice

# Name of the composite device mapping
name: Razer Tartarus Pro

# Only use this profile if *any* of the given matches matches. If this list is
# empty,then the source devices will *always* be checked.
# /sys/class/dmi/id/product_name
matches: []

# Maximum number of source devices per CompositeDevice.
maximum_sources: 7

# One or more source devices to combine into a single virtual device. The events
# from these devices will be watched and translated according to the key map.
source_devices:
- group: keyboard
blocked: true
unique: false
evdev:
name: "Razer Razer Tartarus Pro*"
handler: event*
- group: keyboard
unique: false
udev:
attributes:
- name: idVendor
value: "1532"
- name: idProduct
value: "0244"
- name: bInterfaceNumber
value: "00"
subsystem: hidraw
- group: keyboard
unique: false
udev:
attributes:
- name: idVendor
value: "1532"
- name: idProduct
value: "0244"
- name: bInterfaceNumber
value: "01"
subsystem: hidraw
- group: mouse
unique: false
passthrough: true
udev:
attributes:
- name: idVendor
value: "1532"
- name: idProduct
value: "0244"
- name: bInterfaceNumber
value: "02"
subsystem: hidraw

# The target input device(s) to emulate by default
target_devices:
- mouse
- keyboard

options:
auto_manage: true
1 change: 1 addition & 0 deletions src/drivers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ pub mod legos;
pub mod msi_claw;
pub mod opineo;
pub mod oxp_tty;
pub mod razer_tartarus_pro;
pub mod rog_ally;
pub mod steam_deck;
pub mod unified_gamepad;
Expand Down
Loading