ClanSoft logo
ClanSoft logo

    CL_InputHat::get_direction

Syntax

virtual float get_direction();

Return value

Current hat direction (degrees 0-360) or -1 if centered.

Description

Returns the current direction of the hat (in degrees from 0-360). If the value returned is -1, the hat is centered.


Back to index



This page was built using the Perceps documentation system.