Function orbita3d_controller_from_config

Source
#[no_mangle]
pub extern "C" fn orbita3d_controller_from_config(
    configfile: *const c_char,
    uid: &mut u32,
) -> i32
Expand description

Create the Orbita3dController from a config file.

§Arguments

  • configfile: *const libc::c_char - The path to the config file.
  • uid: *mut u32 - The unique identifier of the controller.

§Returns

  • i32 - 0 if the controller was created successfully, 1 otherwise.