Skip to content

mehmetumit/k380-swap-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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