Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
input_kbd_matrix_common_config Struct Reference

Common keyboard matrix config. More...

#include <input_kbd_matrix.h>

Data Fields

const struct input_kbd_matrix_apiapi
 
uint8_t row_size
 
uint8_t col_size
 
uint32_t poll_period_us
 
uint32_t poll_timeout_ms
 
uint32_t debounce_down_us
 
uint32_t debounce_up_us
 
uint32_t settle_time_us
 
bool ghostkey_check
 
kbd_row_tactual_key_mask
 
kbd_row_tmatrix_stable_state
 
kbd_row_tmatrix_unstable_state
 
kbd_row_tmatrix_previous_state
 
kbd_row_tmatrix_new_state
 
uint8_tscan_cycle_idx
 

Detailed Description

Common keyboard matrix config.

This structure must be placed first in the driver's config structure.

Field Documentation

◆ actual_key_mask

kbd_row_t* input_kbd_matrix_common_config::actual_key_mask

◆ api

const struct input_kbd_matrix_api* input_kbd_matrix_common_config::api

◆ col_size

uint8_t input_kbd_matrix_common_config::col_size

◆ debounce_down_us

uint32_t input_kbd_matrix_common_config::debounce_down_us

◆ debounce_up_us

uint32_t input_kbd_matrix_common_config::debounce_up_us

◆ ghostkey_check

bool input_kbd_matrix_common_config::ghostkey_check

◆ matrix_new_state

kbd_row_t* input_kbd_matrix_common_config::matrix_new_state

◆ matrix_previous_state

kbd_row_t* input_kbd_matrix_common_config::matrix_previous_state

◆ matrix_stable_state

kbd_row_t* input_kbd_matrix_common_config::matrix_stable_state

◆ matrix_unstable_state

kbd_row_t* input_kbd_matrix_common_config::matrix_unstable_state

◆ poll_period_us

uint32_t input_kbd_matrix_common_config::poll_period_us

◆ poll_timeout_ms

uint32_t input_kbd_matrix_common_config::poll_timeout_ms

◆ row_size

uint8_t input_kbd_matrix_common_config::row_size

◆ scan_cycle_idx

uint8_t* input_kbd_matrix_common_config::scan_cycle_idx

◆ settle_time_us

uint32_t input_kbd_matrix_common_config::settle_time_us

The documentation for this struct was generated from the following file: