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:
parent
b4861f1c91
commit
555bc6927e
1 changed files with 5 additions and 0 deletions
|
@ -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.");
|
||||
|
||||
|
|
Loading…
Reference in a new issue