Class: Browser::Event::Gamepad::Definition

Inherits:
Definition show all
Defined in:
opal/browser/event/gamepad.rb

Instance Method Summary collapse

Methods inherited from Definition

#bubbles=, #cancelable=

Instance Method Details

#at=(value) ⇒ Object


19
20
21
# File 'opal/browser/event/gamepad.rb', line 19

def at=(value)
  `#@native.timestamp = #{value}`
end

#axes=(value) ⇒ Object


23
24
25
# File 'opal/browser/event/gamepad.rb', line 23

def axes=(value)
  `#@native.axes = #{value}`
end

#buttons=(value) ⇒ Object


27
28
29
# File 'opal/browser/event/gamepad.rb', line 27

def buttons=(value)
  `#@native.buttons = #{value}`
end

#id=(value) ⇒ Object


11
12
13
# File 'opal/browser/event/gamepad.rb', line 11

def id=(value)
  `#@native.id = #{value}`
end

#index=(value) ⇒ Object


15
16
17
# File 'opal/browser/event/gamepad.rb', line 15

def index=(value)
  `#@native.index = #{value}`
end