[core/input] add pseudo-event "update" to selectively update modules
to trigger an update of a module (without actually triggering a mouse interaction), use the special event "update": bumblebee-ctl -m <module> -b update see #784
This commit is contained in:
parent
028932a560
commit
1e13798c95
2 changed files with 5 additions and 1 deletions
|
@ -12,6 +12,7 @@ button = {
|
|||
"right-mouse": 3,
|
||||
"wheel-up": 4,
|
||||
"wheel-down": 5,
|
||||
"update": -1,
|
||||
}
|
||||
|
||||
|
||||
|
@ -20,7 +21,7 @@ def main():
|
|||
parser.add_argument(
|
||||
"-b",
|
||||
"--button",
|
||||
choices=["left-mouse", "right-mouse", "middle-mouse", "wheel-up", "wheel-down"],
|
||||
choices=["left-mouse", "right-mouse", "middle-mouse", "wheel-up", "wheel-down", "update"],
|
||||
help="button to emulate",
|
||||
default="left-mouse",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue