Hammerspoon keystroke example11/5/2023 Hs.eventtap.doubleClickInterval() -> number This is useful primarily in conjunction with other modules, such as hs.menubar, when a callback is already in progress or waiting for an event callback is not practical or possible.Įxtensions/eventtap/libeventtap.m line 353 This is an instantaneous poll of the current mouse buttons, not a callback.Special hash tag synonyms for left (button 1), right (button 2), and middle (button 3) are also set to true if these buttons are currently being pressed.Returns an array containing indices starting from 1 up to the highest numbered button currently being pressed where the index is true if the button is currently pressed or false if it is not.Returns a table containing the current mouse buttons being pressed at this instant. the numeric value returned is useful if you need to detect device dependent flags or flags which we normally ignore because they are not present (or are accessible another way) on most keyboards.Įxtensions/eventtap/libeventtap.m line 276.This is useful primarily in conjunction with other modules, such as hs.menubar, when a callback is already in progress or waiting for an event callback is not practical or possible. This is an instantaneous poll of the current keyboard modifiers for the most recently used keyboard, not a callback.* _raw - a numeric representation of the numeric representation of all of the keyboard/modifier flags. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |