# UI Key binding for "Enter" and "Backspace" keys not working on all configs

**URL:** <https://discourse.zynthian.org/t/ui-key-binding-for-enter-and-backspace-keys-not-working-on-all-configs/10084>\
**Category:** Software\
**Created:** [September 17, 2024, 6:16pm UTC](https://discourse.zynthian.org/t/ui-key-binding-for-enter-and-backspace-keys-not-working-on-all-configs/10084 "2024-09-17T18:16:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stojos](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/stojos/32/10833_2.png) [@stojos](https://discourse.zynthian.org/u/stojos)\
**Post date:** [September 17, 2024, 6:16pm UTC](https://discourse.zynthian.org/t/ui-key-binding-for-enter-and-backspace-keys-not-working-on-all-configs/10084/1 "2024-09-17T18:16:43Z")

</div>

Key bindings for Enter and Backspace are set by default. For example Enter is by default bound to ZYNSWITCH 3.

This config does not work on some devices .

For example, on device with dummy wiring (encoders connected directly to rpi pins) key bindings for Enter is not working. Here is a log when Enter key is pressed:

```auto
Sep 17 19:05:23 zynthian startx[2952]: DEBUG:zynthian_gui_keybinding.get_key_action: Get keybinding function name for keycode: 36, modifier: 0
Sep 17 19:05:23 zynthian startx[2952]: DEBUG:zynthian_gui_keybinding.get_key_action: Get keybinding function name for keycode: 36, modifier: 0

```

On V5 wiring key bindings for Enter works. Here is a log:

```auto
Sep 17 19:06:37 zynthian startx[2455]: DEBUG:zynthian_gui_keybinding.get_key_action: Get keybinding function name for keycode: 36, modifier: 0
Sep 17 19:06:37 zynthian startx[2455]: DEBUG:zynthian_gui_keybinding.get_key_action: Get keybinding function name for keycode: 36, modifier: 0
Sep 17 19:06:37 zynthian startx[2455]: DEBUG:zynthian_gui.zynswitch_short: Short Switch 3
Sep 17 19:06:37 zynthian startx[2455]: DEBUG:zynthian_gui_control.set_controller_screen: SET CONTROLLER SCREEN

```

Is this a bug or something else is going on here ?

This test was on oram.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [September 17, 2024, 8:45pm UTC](https://discourse.zynthian.org/t/ui-key-binding-for-enter-and-backspace-keys-not-working-on-all-configs/10084/2 "2024-09-17T20:45:44Z")

</div>

> [@stojos](#):
>
> dummy wiring (encoders connected directly to rpi pins) k

This is not dummy wiring. Dummy wiring is no zynswitches nor zyncoders. All pins set to -1.

You should not choose dummy from the list unless you want to use touch only.

Regards

---

<div class="post-metadata">

**Author:** ![stojos](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/stojos/32/10833_2.png) [@stojos](https://discourse.zynthian.org/u/stojos)\
**Post date:** [September 18, 2024, 9:04am UTC](https://discourse.zynthian.org/t/ui-key-binding-for-enter-and-backspace-keys-not-working-on-all-configs/10084/3 "2024-09-18T09:04:42Z")

</div>

> [@jofemodo](#):
>
> Dummy wiring is no zynswitches nor zyncoders

I did not know this because Dummy wiring work when set with appropriate encoder pins.

Anyway I have changed to Custom wiring and set encoder pins there. Encoders and their switches work but Enter key binding to zynswitch 3 or Backspace key binding to zynswitch 1 is not working.

The same key binding work on MINI V2 that has V5 wiring. Is this a bug ?

---

<div class="post-metadata">

**Author:** ![sacred.goose](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/sacred.goose/32/12256_2.png) [@sacred.goose](https://discourse.zynthian.org/u/sacred.goose)\
**Post date:** [September 18, 2024, 5:43pm UTC](https://discourse.zynthian.org/t/ui-key-binding-for-enter-and-backspace-keys-not-working-on-all-configs/10084/4 "2024-09-18T17:43:19Z")

</div>

Having the same issue on V4, [probably related.](https://discourse.zynthian.org/t/assign-select-to-s4-button/10036/14)
