Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Nov 7, 2024
1 parent fabaa8f commit 3a768b9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/netxs/desktopio/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1743,11 +1743,6 @@ namespace netxs::input
}

auto meta(si32 ctl_key = -1) { return hids::ctlstat & ctl_key; }
auto chord(si32 k, si32 mods = {})
{
if (mods) return k == keybd::keycode && meta(mods) && !meta(~mods & hids::anyMod);
else return k == keybd::keycode && !meta(hids::anyMod);
}

// hids: Stop handeling this event.
void dismiss(bool set_nodbl = faux)
Expand Down

0 comments on commit 3a768b9

Please sign in to comment.