Skip to content

A command line tool for configuring Ikkegol foot pedals

License

Notifications You must be signed in to change notification settings

Schmoller/pedalctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foot-pedal configurator

Status GitHub issues GitHub pull requests GitHub


A command line tool for configuring foot-pedal devices.

📝 Table of Contents

🧐 About

This project provides a command line tool (pedalctl) to configure foot-pedal devices (such as those from iKKEGOL).

🏁 Getting Started

These instructions will help you build and install the tool on your local machine.

Prerequisites

To compile this project, you will need

  • C++ 17 or higher toolchain
  • CMake 3.0 or newer
  • Git
  • libusb-1.0

Installing

Supported platforms

  • Linux

Porting to other platforms should not be difficult as long as that platform supports libusb-1.0.

Building

As this is a CMake project, building should be fairly straightforward. Ensure that you have all required prerequisites installed before proceeding.

Create a new directory to contain the build and navigate to it.

mkdir build
cd build

Initialize the CMake project. There are some options for you to configure in addition to the standard CMake options. See below for available options.

cmake ..

Now you can build the tool using make

make

Installing

After you have compiled the tool, you can install it tool your system also using make:

sudo make install

If it has completed successfully, you can verify it by running:

pedalctl -v

It should print the version of the software

Available configuration options

Option Description Default
INSTALL_UDEV_RULES When enabled, udev rules will be installed to allow non-root configuration of pedals ON
UDEV_RULES_DIR The directory to install udev rules to allow non-root configuration of foot pedals /etc/udev/rules.d/

🎈 Usage

The tool is a command line program pedalctl. The most detailed help is available using pedalctl help.

There are 3 commands offered by the tool:

pedalctl list

List all the available pedal devices

pedalctl show

Show the configuration of a single device.

pedalctl set

Updates the configuration of a device.

⌨️ Supported Models

  • iKKEGOL
    • FS2020U1IR (3 pedal model)
    • FS2017U1IR (1 pedal model)
    • More to come

For a device to be supported, the configuration protocol needs to be reverse engineered which requires someone working on this project to have that device. Unless there happens to be a spec for the device.

About

A command line tool for configuring Ikkegol foot pedals

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published