Skip to content

Emericdefay/control2pad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Control the controlpad

Status GitHub Issues GitHub Pull Requests License


Unleash the true power of your Controlpads

📝 Table of Contents

🧐 About

This project is designed to allow users to customize their keyboard shortcuts and actions. It allows users to assign specific actions to individual keys on their keyboard, such as running a Python script or launching a program. The program also saves these configurations in a keyboard.json file, so that the settings persist even after the program is closed.

✔ Available controlpads

VID PID Manufacturer Product
0x2516 0x007B Cooler Master Cherry

Products are stored in app/layouts
I would like to create a "layout generator" to complete this tool.

🏁 Getting Started

To get started with this project, you will need to have Python 3 and the PyQt5 library installed on your system. You can install these dependencies using pip by running the following command:

pip install -r requirements.txt

Once these dependencies are installed, you can run the program by executing the launcher.py script.

Prerequisites

  • Python > 3.6
  • Controlpad
  • libusb-win32

Libusb

Please read this guide to setup this important lib: How to use libusb

🎈 Usage

When the program is first run, it will display a button asking you to select a device. It will list all devices that your allowed through libusb. Select one of them.

After that, it will display a window with a grid of buttons representing the keys on your keyboard. When you click on a key, a dialog will appear allowing you to configure the action for that key. You can choose to run a Python script, launch a program, or assign a keyboard shortcut to the key.

After making your selections, you can click the "Save" button to save the configuration for that key. The program will automatically save all key configurations to the keyboard.json file, so that they persist even after the program is closed.

When the program is restarted, it will automatically load the keyboard.json file and apply the saved configurations to the keys on the grid.

🚀 Additional Features

Your can handler several keyboards at the same time by adding tabs.

The program also includes a few additional features, such as the ability to display a help dialog when a specific key is pressed. The help dialog will display information about the current key's configuration, and will close automatically after 10 seconds.

📌 Conclusion

This project provides a powerful and flexible tool for customizing keyboard shortcuts and actions. It is designed to be easy to use and customize, and it allows users to easily assign actions to individual keys on their keyboard. With the ability to save and load configurations, as well as additional features such as the help dialog and simulated keyboard input, this program is a valuable tool for anyone looking to increase their productivity and efficiency.

⛏️ Built Using

✍️ Authors