1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-28 04:44:06 +00:00

add nn hid hook function

This commit is contained in:
jugeeya 2021-08-20 12:05:01 -07:00 committed by GitHub
parent b4861f1c91
commit 555bc6927e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,6 +289,11 @@ fn params_main(params_info: &ParamsInfo<'_>) {
}
}
#[allow(improper_ctypes)]
extern "C" {
fn add_nn_hid_hook(callback: fn(*mut NpadHandheldState,*const u32));
}
pub fn training_mods() {
println!("[Training Modpack] Applying training mods.");