{eg.event.suffix + "." + str(eg.event.payload)}Bartman wrote:You can trigger a new event using some simple python coding
add a new trigger event action and enter the following in the textbox
- Code: Select all
{eg.event.suffix + "." + str(eg.event.payload)}
Bartman wrote:The values are not enduring events. Since the axis always has a value the plugin would always have an event or even multiple enduring events for every axis. So this is not possible.
Bartman wrote:adding them to the event string would be just changing a line.
I just thought that what payloads are for and expected a script would be neccessary to use analog values anyway.
{eg.event.payload>xxxxx}Bartman wrote:You can trigger a new event using some simple python coding
add a new trigger event action and enter the following in the textbox
- Code: Select all
{eg.event.suffix + "." + str(eg.event.payload)}
Roamin wrote:Turns out someone found newer drivers and now the play/pause button is assigned to a normal hid button so now i can remap all keys successfully.
"adding them to the event string would be just changing a line."
self.plugin.TriggerEvent(
"Value." + str(tmpIndex) + "." + str(newValue),
payload = newValue
)
Users browsing this forum: Google Adsense [Bot] and 2 guests