note
	description: "Manage Joystick events"
	author: "Louis Marchand"
	date: "Tue, 24 Feb 2015 00:34:06 +0000"
	revision: "2.0"

deferred class interface
	GAME_JOYSTICK_EVENTS

feature -- Access

	stop
			-- <Precuror>

	run
			-- <Precuror>

	clear
			-- <Precuror>

	axis_motion_actions: ACTION_SEQUENCE [NATURAL_32, NATURAL_8, INTEGER_16]
			-- When an axis of Current has been moved at a certain value.
		require
			joy_axis_motion_event_enable: events_controller.is_joy_axis_motion_event_enable

	ball_motion_actions: ACTION_SEQUENCE [NATURAL_32, NATURAL_8, INTEGER_16, INTEGER_16]
			-- When a ball of Current has been moved to a certain relative value (x_relative,y_relative)
		require
			joy_ball_motion_event_enable: events_controller.is_joy_ball_motion_event_enable

	hat_motion_actions: ACTION_SEQUENCE [NATURAL_32, NATURAL_8, GAME_JOYSTICK_HAT_STATE]
			-- When a hat of Current has been moved at a certain value.
		require
			joy_hat_motion_event_enable: events_controller.is_joy_hat_motion_event_enable

	button_pressed_actions: ACTION_SEQUENCE [NATURAL_32, NATURAL_8]
			-- When a button (identified by button_id) of Current has been pressed.
		require
			joy_button_pressed_event_enable: events_controller.is_joy_button_pressed_event_enable

	button_released_actions: ACTION_SEQUENCE [NATURAL_32, NATURAL_8]
			-- When a button (identified by button_id) of Current has been released.
		require
			joy_button_pressed_event_enable: events_controller.is_joy_button_released_event_enable

	removed_actions: ACTION_SEQUENCE [NATURAL_32]
			-- When Current is removed (probably disconected)
		require
			joy_button_pressed_event_enable: events_controller.is_joy_device_removed_event_enable
	
end -- class GAME_JOYSTICK_EVENTS

Generated by ISE EiffelStudio