note
	description: "An haptic device inside a mouse"
	author: "Louis Marchand"
	date: "Mon, 02 Mar 2015 01:51:33 +0000"
	revision: "2.0"

class 
	GAME_HAPTIC_MOUSE

inherit
	GAME_HAPTIC

create {GAME_LIBRARY_CONTROLLER}
	make

feature {NONE} -- Initialization

	make
			-- Initialization of Current
		require
			is_haptic_enabled: Game_library.is_haptic_enable
			mouse_has_haptic: Game_library.mouse_has_haptic
		do
			default_create
		end
	
feature {NONE} -- Implementation

	internal_open: POINTER
			-- The internal C function to open the haptic
		do
			Result := {GAME_SDL_EXTERNAL}.sdl_hapticopenfrommouse
		end
	
end -- class GAME_HAPTIC_MOUSE

Generated by ISE EiffelStudio