CONFIG_CAF_BUTTONS_EVENT_LIMIT

Number of button events in a single scan loop

Type: int

Help

This option specifies the number of button events generated during
a single scanning loop. If more keys change state between scanning
intervals, subsequent changes will be ignored and picked up during
the next scanning.

Direct dependencies

CAF_BUTTONS && CAF

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

At <nRF>/subsys/caf/modules/Kconfig.buttons:52

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:88<nRF>/subsys/Kconfig:50<nRF>/subsys/caf/Kconfig:16<nRF>/subsys/caf/modules/Kconfig:11

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Common Application Framework → Buttons module

config CAF_BUTTONS_EVENT_LIMIT
    int "Number of button events in a single scan loop"
    range 0 255
    default 4
    depends on CAF_BUTTONS && CAF
    help
      This option specifies the number of button events generated during
      a single scanning loop. If more keys change state between scanning
      intervals, subsequent changes will be ignored and picked up during
      the next scanning.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)