Can input actions in defold not have the same name? (DEF-1855)

Hey britzl, thanks for the response

I just tested again and I definitely can’t seem to get it working with same name input action. Does this setup look right?

function on_input(self, action_id, action)
    if hash("player_action") then
    	if action.pressed then
    	    flying = true
    	elseif action.released then
            flying = false
        end
    end
end

Thanks for the hash_to_hex tip!