Function wacom_sys::libwacom_database_new_for_path [] [src]

pub unsafe extern "C" fn libwacom_database_new_for_path(
    datadir: *const c_char
) -> *mut WacomDeviceDatabase

Loads the Tablet and Stylus databases, to be used in libwacom_new_*() functions, from the prefix path passes. This is only useful for diagnostics applications.

@return A new database or NULL on error.