Example: (event_handling.lua)

				
					local params = ...

if params.event == "device_connected" then
    print( "we got a device_connected event for a " .. params.deviceAddress .. " device" )
end