Product Documentation
RelayKeys (🇬🇧 English )
RelayKeys (🇬🇧 English )
  • 😎Introduction
  • ⚙️ Installation
    • Setting up a board for RelayKeys
      • Adafruit Feather nRF52840 Express
      • Raytac dongle - nRF52840 USB Key with TinyUF2 Bootloader MDBT50Q-RX
      • Adafruit Itsybitsy nRF52840
      • Bluefruit LE Friend
    • Download and Setup (Software)
    • Connecting with RelayKeys
      • Wired Mode
      • Wired + Recieving Dongle
      • Wireless Mode
    • Checking it works
  • 🖥️Using RelayKeys
    • RelayKeys Desktop (QT)
    • Command Line Usage
    • 💬Guides for use with AAC
      • Tobii Communicator 5
      • Smartbox Grid 3
      • Jabbla MindExpress
      • Tobii Dynavox - Snap
    • Serial API
  • ❓Troubleshooting
  • 👩‍💻Developer Information
    • Architecture of RelayKeys
    • Developing without a board
    • Config File details
    • Server (Daemon) reference
    • Building a binary
    • Prior Art/Related Projects
    • Contributing
    • Credits
  • ❤️ Supporting RelayKeys
Powered by GitBook
On this page
  • Introduction
  • Dev - Defining your port of the RelayKeys hardware
Export as PDF
  1. Developer Information

Config File details

Introduction

In the same directory as relaykeys there is a file relaykeys.cfg

It looks like this:

[server]
host = 127.0.0.1
port = 5383
username = relaykeys
password = QTSEOvmXInmmp1XHVi5Dk9Mj
logfile = logfile.txt

[client]
host = 127.0.0.1
port = 5383
username = relaykeys
password = QTSEOvmXInmmp1XHVi5Dk9Mj
toggle = 1
togglekey = A
togglemods = RALT

[cli]
keymap_file = us_keymap.json

Feel free to change any of the settings but Be careful that you make the username/password the same - otherwise the CLI programme can't talk to the service.

{
    "\r": [null, null],
    "\t": ["TAB", []],
    " ":  ["SPACE", []],
    "`":  ["BACKQUOTE", []],
    "~":  ["BACKQUOTE", ["LSHIFT"]],
    "!":  ["1", ["LSHIFT"]]
}

Dev - Defining your port of the RelayKeys hardware

RelayKeys software tries to find the RelayKeys board automagically. If you have a device with a number of COM ports attached - or ones that have similar functionality you may have some difficulties. If so try fixing the COM port.

  1. Access Device Manager. Search for "Device Manager" in Windows.

  1. Click on Ports. If you only have RelayKeys connected you should see one device. If you see many - try unplugging it and replugging it in to find which COM port it is.

  1. Note the number and edit your RelayKeys cfg file. Search for "RelayKeys config" in Windows - and open with Notepad.

  1. Type dev = COM3 where COM3 is your port number you found in step 2-3.

PreviousDeveloping without a boardNextServer (Daemon) reference

Last updated 2 years ago

Note the keymap file. This is found in the sub directory cli_keymaps. You can have multiple keymaps in here if you wish and switch between them using the

Each file is a json file (tip - using to check its formatted ok) looks something like the below where the string is sent dependent on the characters sent. eg. on a UK keyboard ! is sent by presing shift and 1.

👩‍💻
jsonlint
Image from Gyazo
Image from Gyazo
Image from Gyazo
cli using -c