Skip to content

OtherKey not working #96

Description

@ana-rchy

ive got some basic code, just sanity checking whether OtherKey works at all since the print screen button wouldnt, and turns out OtherKey isnt working even for keys that are already in the enum

use inputbot::KeybdKey::*;

fn main() {
    OtherKey(0x31).bind(|| println!("hi"));  // 0x31 = Numrow1Key

    inputbot::handle_input_events();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions