zephyr_input – Access input devices provided by Zephyr.

Available on these boards
  • Adafruit CLUE nRF52840 Express (Zephyr)
  • Adafruit Circuit Playground Bluefruit (Zephyr)
  • Adafruit Feather Bluefruit Sense (Zephyr)
  • Adafruit Feather nRF52840 Express (Zephyr)
  • Adafruit Industries LLC Metro CH32V407 (Zephyr)
  • Adafruit Industries LLC Metro CH32V467 (Zephyr)
  • Adafruit ItsyBitsy nRF52840 Express (Zephyr)
  • NXP Semiconductors FRDM-MCXN947 (Zephyr)
  • NXP Semiconductors FRDM-RW612 (Zephyr)
  • NXP Semiconductors IMXRT1010-EVK (Zephyr)
  • NXP Semiconductors MIMXRT1170-EVK (Zephyr)
  • Nordic Semiconductor nRF5340 DK (Zephyr)
  • Nordic Semiconductor nRF54H20 DK (Zephyr)
  • Nordic Semiconductor nRF54L15 DK (Zephyr)
  • Nordic Semiconductor nRF54LM20 DK (Zephyr)
  • Renesas Electronics Corporation DA14695 Development Kit USB (Zephyr)
  • Renesas Electronics Corporation RA6M5 Evaluation Kit (Zephyr)
  • Renesas Electronics Corporation RA8D1 Evaluation Kit (Zephyr)
  • STMicroelectronics Nucleo N657X0-Q (Zephyr)
  • STMicroelectronics Nucleo U575ZI Q (Zephyr)
  • STMicroelectronics STM32H750B Discovery Kit (Zephyr)
  • STMicroelectronics STM32H7B3I Discovery kit (Zephyr)
  • Silicon Labs SiWx917 Wi-Fi 6 and Bluetooth LE SoC Dev Kit (BRD2605A) (Zephyr)
  • zephyr Native simulator - LVGL + ASan (Zephyr)
  • zephyr Native simulator - LVGL displayio compositor (Zephyr)
  • zephyr Native simulator - littlefs filesystem (Zephyr)
  • zephyr Native simulator - native_sim (Zephyr)

zephyr_input.touch() → tuple[int, int] | None

Return the latest buffered touch coordinates, or None when released.

On native_sim, SDL mouse button and motion events are reported as touch.