Skip to content

Commit

Permalink
Virtual button for standard containers fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteMagic committed Feb 2, 2018
1 parent d4b09da commit ac9d3e1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions gremlin/base_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,17 +530,18 @@ def generate_callbacks(self):
execution_graph.VirtualButtonCallback(self),
gremlin.event_handler.Event(
gremlin.common.InputType.VirtualButton,
callbacks[-1][0].virtual_button.identifier,
callbacks[-1].callback.virtual_button.identifier,
9999,
9999,
is_pressed=True,
raw_value=True
)
))
callbacks.append(execution_graph.CallbackData(
execution_graph.ContainerCallback(self),
None
))
else:
callbacks.append(execution_graph.CallbackData(
execution_graph.ContainerCallback(self),
None
))

return callbacks

Expand Down

0 comments on commit ac9d3e1

Please sign in to comment.