Skip to content

Commit

Permalink
Implement Send for Joypad trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
hgaiser committed Jan 22, 2025
1 parent d9506ce commit f4d63e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/inputtino/src/joypad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::path::PathBuf;

use crate::JoypadStickPosition;

pub trait Joypad{
pub trait Joypad: Send {
fn set_pressed(&self, buttons: i32);

fn set_triggers(&self, left_trigger: i16, right_trigger: i16);
Expand Down

0 comments on commit f4d63e0

Please sign in to comment.