Class: Browser::Event::Gamepad::Definition
- Inherits:
-
Definition
- Object
- Definition
- Browser::Event::Gamepad::Definition
- Defined in:
- opal/browser/event/gamepad.rb
Instance Method Summary collapse
- #at=(value) ⇒ Object
- #axes=(value) ⇒ Object
- #buttons=(value) ⇒ Object
- #id=(value) ⇒ Object
- #index=(value) ⇒ Object
Methods inherited from Definition
Instance Method Details
#at=(value) ⇒ Object
17 18 19 |
# File 'opal/browser/event/gamepad.rb', line 17 def at=(value) `#@native.timestamp = #{value}` end |
#axes=(value) ⇒ Object
21 22 23 |
# File 'opal/browser/event/gamepad.rb', line 21 def axes=(value) `#@native.axes = #{value}` end |
#buttons=(value) ⇒ Object
25 26 27 |
# File 'opal/browser/event/gamepad.rb', line 25 def (value) `#@native.buttons = #{value}` end |
#id=(value) ⇒ Object
9 10 11 |
# File 'opal/browser/event/gamepad.rb', line 9 def id=(value) `#@native.id = #{value}` end |
#index=(value) ⇒ Object
13 14 15 |
# File 'opal/browser/event/gamepad.rb', line 13 def index=(value) `#@native.index = #{value}` end |