Skip to content

Commit

Permalink
input/cmd: add comment for scalable and is_ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
na-na-hi committed Nov 15, 2024
1 parent 49284a7 commit 3dd6627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input/cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ struct mp_cmd_def {
bool allow_auto_repeat; // react to repeated key events
bool on_updown; // always emit it on both up and down key events
bool vararg; // last argument can be given 0 to multiple times
bool scalable;
bool is_ignore;
bool scalable; // command called with scale for high resolution input
bool is_ignore; // used by ignore command only, avoids queuing commands
bool is_noisy; // reduce log level
bool default_async; // default to MP_ASYNC flag if none set by user
// If you set this, handler() must ensure mp_cmd_ctx_complete() is called
Expand Down

0 comments on commit 3dd6627

Please sign in to comment.