g11-macro-keys

Crates.iog11-macro-keys
lib.rsg11-macro-keys
version0.3.0
created_at2025-08-03 18:11:39.165068+00
updated_at2025-08-11 01:05:44.790782+00
descriptionUSB/HID model for the Logitech G11 Keyboard's macro keys
homepage
repositoryhttps://github.com/rs017991/g11-macro
max_upload_size
id1779936
size25,048
Ryan Scheidter (rs017991)

documentation

README

g11-macro-keys

Library that models the USB/HID interface for the Logitech G11 Keyboard's macro keys.

This was primarily written for use within g11-macro-daemon, but you may check out the examples to see how you could build your own weird stuff on top of this library.

Key Layout

The macro keys interface covers:

  • 18 'G' keys
  • 3 'M' keys - each has its own LED
  • 1 'MR' key - has its own LED
  • 1 Backlight key
  (M1) (M2) (M3)  (MR)   ...   (💡)

 ┌───┐┌───┐┌───┐
 │G1 ││G2 ││G3 │
 └───┘└───┘└───┘
 ┌───┐┌───┐┌───┐
 │G4 ││G5 ││G6 │
 └───┘└───┘└───┘

 ┌───┐┌───┐┌───┐
 │G7 ││G8 ││G9 │
 └───┘└───┘└───┘
 ┌───┐┌───┐┌───┐
 │G10││G11││G12│
 └───┘└───┘└───┘

 ┌───┐┌───┐┌───┐
 │G13││G14││G15│
 └───┘└───┘└───┘
 ┌───┐┌───┐┌───┐
 │G16││G17││G18│
 └───┘└───┘└───┘
Commit count: 0

cargo fmt