예제 #1
0
파일: Intensity.cpp 프로젝트: Conzar/GIMX
s_axis_props Intensity::GetGenericAxisProps(e_controller_type type, string axis)
{
  if(axis == "lstick")
  {
    axis = "lstick x";
  }
  else if(axis == "rstick")
  {
    axis = "rstick x";
  }
  return controller_get_axis_index_from_specific_name(type, axis.c_str());
}
예제 #2
0
s_axis_props ControlMapper::GetGenericAxisProps(e_controller_type type, string axis)
{
    return controller_get_axis_index_from_specific_name(type, axis.c_str());
}