Type | function |
Library | simple_gesture.* |
Return value | Array |
Keywords | simple, gesture, supported |
See also | Sample code, simple_gesture.setValidGestures() |
This function returns an array of the names of the supported gestures. These are the valid inputs to simple_gesture.setValidGestures().
simple_gesture.getSupportedGestures()
local simple_gesture = require 'plugin.simple_gesture'
local supportedGestures = simple_gesture.getSupportedGestures()
print("Supported gestures: ")
for index=1,#supportedGestures do
print(" " .. supportedGestures[index])
end