-
Notifications
You must be signed in to change notification settings - Fork 55
Syntax checking of keymap.rb
HASUMI Hitoshi edited this page Jan 25, 2022
·
1 revision
If your keymap.rb doesn't make your keyboard run, you likely have mistyped in the keymap.rb.
Syntax checker of Ruby will help you.
On the command line (Be sure to insert -c option):
ruby -c path/to/keymap.rbIf the command above prints Syntax OK, your keymap.rb basically doesn't have any mistake in terms of Ruby syntax
(Note that it doesn't mean there are no mistakes of any kind).
Otherwise, that command reports a syntax error that you have to fix.
If you don't have a ruby command, install one according to https://www.ruby-lang.org/en/documentation/installation/
- Getting started
- Keyboard features
- Keycodes (ja)
- Mouse (ja)
- Layers and mode key (ja)
- Debounce
- Composite key
- Split-type keyboard
- Keyscan matrix
- Num Lock, Caps Lock and Scroll Lock
- Useful methods that make you free
- BIOS mode
- Other features
- Examples
- Development
- Contribute to the Wiki
- FAQ