Giter Club home page Giter Club logo

k380-swap-keys's Introduction

k380-swap-keys

Code Size Repo Size Stars Visitors AUR Version License


Convenient way to swap upper fn keys on Logitech K380.

If you want to try for other devices you need to change DEV with your device name and KERNELS in RULE to KERNELS=="*:046D:*" in script. (:046D: is vendor id of Logitech devices. Rest of it product id of device. You can add it too but it should work without it.)

Installation

  • Arch Linux:
    • Install via AUR
      yay -S k380-swap-keys
    • Or by using the PKGBUILD
      cd pkgbuilds/
      makepkg -si
  • In General:
     # Clone the repository
     git clone https://github.com/mehmetumit/k380-swap-keys.git
     # Change directory
     cd k380-swap-keys
     # Install with make
     make install

Usage

$ k380-swap-keys -h
Usage: k380-swap-keys [OPTIONS...]

Convenient way to swap upper fn keys on Logitech K380

Options:
	-h		Print this text and exit
	-r		Create rule to automatically swap keys after reconnect device
	-R		Remove created rule to not automatically swap keys
	-s 		Swap upper fn keys
	-S 		Swap back to default upper fn keys

k380-swap-keys's People

Contributors

cyl96 avatar mehmetumit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cyl96

k380-swap-keys's Issues

Connection timed out

cmd result:
`
Rule created successfully...

/usr/local/bin/k380-swap-keys: line 29: printf: write error: Connection timed out

Device K380 not found!

`
but k380 is still conneted,i can see k380 in solaar,and the fn key change is not work. :(

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.