I have an input map problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Bruno H.
:warning: Old Version Published before Godot 3 was released.

I choose the “x”, but it gives me “triangle” in my generic control. so I tried to pick the one that misses the button, but I’m not getting it

   extends Node

func _ready():
    set_process_input(true)

func _input(event):
    print(get_pressed_button())

Is there an example of how I can let the player choose the control buttons?