# Dashboard slider control via arrow keys on physical keyboard

**URL:** <https://discourse.nodered.org/t/dashboard-slider-control-via-arrow-keys-on-physical-keyboard/50178>\
**Category:** Dashboard\
**Created:** [25 August 2021 19:16 UTC](https://discourse.nodered.org/t/dashboard-slider-control-via-arrow-keys-on-physical-keyboard/50178 "2021-08-25T19:16:46Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [1 September 2021 03:51 UTC](https://discourse.nodered.org/t/dashboard-slider-control-via-arrow-keys-on-physical-keyboard/50178/12 "2021-09-01T03:51:29Z")

</div>

> [@Gunner](#):
>
> It is not perfect... as in order for the keys to work, one must first use the slider, then either one works perfectly. I have no idea why??

> [@eltucaso](#):
>
> It appears that Node Red sliders AUTOMATICALLY work with the arrow keys -- first you have to put them in focus

**Darnit!!** that previously unknown (to me) fact has been plaguing me when I try to code in various means of using the keys 🥴 And here I thought my code was working... sometimes... but not always the way I thought it should...

Stupid, automatic, code free, works when focused, browser function 🤪

**EDIT** , but now that I know... I was able to finish off my project.

> [@RaspiCam with LED Lighting and Pan & Tilt](https://discourse.nodered.org/t/raspicam-with-led-lighting-and-pan-tilt/50476):
>
> I finally added the latest touch to my PiCam setup... keyboard control. Specifically the arrow keys on the keyboard (thanks to some [posted code](https://discourse.nodered.org/t/dashboard-slider-control-via-arrow-keys-on-physical-keyboard/50178/9) from @Steve-Mcl ) that I was able to add to the adjustment of both pan and tilt. It is a bit of a spiderweb but it works. The camera can be adjusted via the sliders, the buttons or the arrow keys on the keyboard (of the PC running the dashboard) The trigger buttons disable after initial press of CLICK ME until camera has had time …

---

_[View the full topic](https://discourse.nodered.org/t/dashboard-slider-control-via-arrow-keys-on-physical-keyboard/50178)._
