https://github.com/ellisdickinson46/bumpbarprocessor
https://github.com/ellisdickinson46/bumpbarprocessor
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ellisdickinson46/bumpbarprocessor
- Owner: ellisdickinson46
- Created: 2024-06-30T00:41:04.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-12-11T11:20:16.000Z (6 months ago)
- Last Synced: 2025-01-29T15:50:14.344Z (5 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bump Bar Processor
A small bump bar script to connect and interpret inputs from Serial Bump Bars.
Tested with Panasonic and TG3 10-key Bump Bars
## Configuration
Configuration is done through a single YAML file. Some values are platform dependent and use the native operating system interpreter.A sample file is available.
###connection
Keys
| Key | Description | Example Value | Type |
|-----------|--------------------------|-------------------------------|--------|
| baud | Serial Baud Rate | 1200 | String |
| port_name | Serial Port Name or Path | /dev/tty.PL2303G-USBtoUART140 | String |###
button_commands
Keys
| Key | Description | Example Value | Type |
|-----------|--------------------------------------------------|---------------|------------------|
| button_a2 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_a1 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_b1 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_b2 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_c1 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_c2 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_d1 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_d2 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_e1 | Command to execute (using native OS interpreter) | null | String or _null_ |
| button_e2 | Command to execute (using native OS interpreter) | null | String or _null_ |### General Keys
| Key | Description | Example Value | Type |
|----------------|-----------------------------------------------------------------|---------------|---------|
| repeat_presses | Enable holding buttons for repeat actions | | Boolean |
| auto_reconnect | Enable reconnect attempts when bump bar connection is lost | | Boolean |
| max_reconnects | Number of times to attempt reconnecting (use zero for infinite) | 0 | Integer |