Parent

Methods

Class/Module Index [+]

Quicksearch

Rubygame::Events::JoystickButtonReleased

JoystickButtonReleased is an event that occurs when a joystick button is released (no longer being pressed).

See also JoystickButtonPressed.

Public Class Methods

new( joystick_id, button ) click to toggle source

Creates a new JoystickButtonPressed instance.

joystick_id

an integer identifying which joystick changed. The first joystick is 0.

button

an integer identifying which button was released. The first button on each joystick is 0.

# File lib/rubygame/events/joystick_events.rb, line 174
def initialize( joystick_id, button )
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.