Code Monkey home page Code Monkey logo

g810-led-fr-skel's Introduction

g810-led profile fr_FR skeleton for linux

create, delete or switch g810-led profiles for AZERTY fr_FR Logitech keyboards.

Youtube video, french spoken.

Profiles depend on a profile_skel file that you can edit before installation, keys names are organized by raws based on a latin1 fr_CH layout because the g810-led project started like this. But here the translation is done simply by removing keys or placing them in the right raw for a fr_FR layout. Note that a group_skel is also provided.

Groups examples

  • The modifiers keys (red).
  • Direction keys: hjkl (vim), arrows, home, end, pageup, pagedown (yellow).
  • F1 -> F12 (magenta).
  • Multimedia keys (green) mute key (yellow).
  • function keys (white).
  • gaming keys disabled by default (black 000000, change this only).
g810-led -g gkeys ffffff
g810-led --help-keys

Credits

I'd like to thanks Matmoul for his project g810-led that's provide a simple & funny way to play with our RGB Logitech keyboards.

Supported models

  • G213 G410 G413 G512 G513 G610 G810 G815 G910 Gpro

screenshot

How to install?

git clone https://github.com/MatMoul/g810-led.git
cd g810-led.git
EDITOR=<your_editor_name> src/helpers/helper.h
# then add: #include <cstdint> at line 20 (before #include <iostream>), save and run:
make
sudo make install
  • Your keyboard should light on with the default profile provided by Matmoul.
  • Now run the install script:
git clone https://github.com/archusXIV/g810-led-fr-skel.git
cd g810-led-fr-skell
chmod +x ./install_profiles.sh && ./install_profiles.sh
cp ./scripts/g810_{create,delete,switch}_profile "$HOME/.local/bin"
# ... if ~/.local/bin is in your $PATH

How to use?

  • First modify the scripts variables myModel{Name,Id} values according to your keyboard model.
lsusb | grep -i keyboard
# Bus 003 Device 003: ID 046d:c33f Logitech, Inc. G815 Mechanical Keyboard
  • Your variables should look like this:
myModelName=G815
myModelId=c33f
  • Now it's time to create your first group or key profile.
    • groups are described above...
    • key profiles also use groups but some keys have different colors than the group to which they belong.
    • A prompt will appear to let you choose between the two methods.
g810_create_profile
  • Next command can be launched with an argument or not.
g810_switch_profile gruvbox
  • Deleting profiles can also be done with an argument or not. If you delete the profile in use, the default one will be set.
g810_delete_profile gruvbox
  • The last chosen profile will be launched when rebooting your machine using udev rules so be aware of that. Have fun!

g810-led-fr-skel's People

Contributors

archusxiv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.