Skip to content

Signal plugins

AndreyBarmaley edited this page Apr 13, 2022 · 13 revisions

system signals

  • "mouse:click"
  • "key:[key name]"
  • "tick:[number ms]"

signal_input_event

json config:

"type": "signal_input_event",
"debug": 1,
"device": "/dev/input/event15",
"delay": 100,
"event:type": 1,
"event:code": 288,
"event:value": -1,
"signal": "signal_input_joystick"

description:
this plugin creates a signal from the Linux inputs.

signal_dbus_event

json config:

"type": "signal_dbus_event",
"debug": 1,
"delay": 100,
"dbus:system": false,
"dbus:name": "org.test.dbus",
"dbus:object": "/org/test/dbus/object",
"dbus:interface": "org.test.dbus.interface",
"#dbus:autostart": "method_or_signal",
"dbus:signals": [ "take_snapshot1", "take_snapshot2", "take_snapshot3" ]

description:
this plugin creates a signal from the dbus:

dbus-send --system --type=signal \
          --dest=org.test.dbus /org/test/dbus/object org.test.dbus.take_snapshot1

"dbus:autostart" autostart for alien service

signal_gui_button

json config:

"type": "signal_gui_button",
"debug": 1,
"signal:button": "pushButton123",
"image:press": "button1.png",
"image:release": "button2.png",
"position": [ 10, 10 ]

description:
this plugin creates a gui button on screen with custom signals.

Clone this wiki locally