Skip to content

Commit

Permalink
```ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed May 18, 2022
1 parent f51dc9d commit 72dc3ff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Macro.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ kbd.define_mode_key :MACRO_2, [ Proc.new { kbd.macro("World!") }, nil, 200, nil]
These macros add a line feed.
If you want it not to add a line feed, add an empty array `[]` at the second argument:

```
```ruby
Proc.new { kbd.macro("Hello", []) }
```

Expand Down
2 changes: 1 addition & 1 deletion Mutual-UART-communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## In your `keymap.rb`

```
```ruby
kbd = Keyboard.new
kbd.split = true
kbd.mutual_uart_at_my_own_risk = true
Expand Down
2 changes: 1 addition & 1 deletion Right-side-flipped-split.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ eg:

PRK Firmware supports those keyboards by `:right_side_flipped_split` attribute.

```
```ruby
# Example keymap for Zink
kbd = Keyboard.new
kbd.split = true
Expand Down
2 changes: 1 addition & 1 deletion Rotary-encoder.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For example, following keymap.rb will configure 2 rotary encoders.
`encoder_1` moves the cursor vertically.
`encoder_2` adjusts the glittering speed of LED.

```
```ruby
kbd = Keyboard.new

encoder_1 = RotaryEncoder.new(28, 27)
Expand Down

0 comments on commit 72dc3ff

Please sign in to comment.