Method: Keyboard#reset
- Defined in:
- lib/keyboard/keyboard.rb
#reset ⇒ Object
Public: Resets all keyboard attributes.
Returns nothing.
117 118 119 120 121 |
# File 'lib/keyboard/keyboard.rb', line 117 def reset @shifted = false @cur_coords = nil # set automatically on first access @cur_layout_index = nil # set automatically on first access end |