NTURT Zephyr v0.0.1
NTURT common library for Zephyr RTOS
Loading...
Searching...
No Matches
dashboard.h File Reference

Dashboard and display device tree binding constants. More...

#include <zephyr/dt-bindings/input/input-event-codes.h>
+ Include dependency graph for dashboard.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define LED_NUM_PEDAL_PLAUS   4
 
#define LED_NUM_RUNNING   8
 
#define LED_NUM_ERROR   12
 
#define LED_NUM_INV_RL   14
 
#define LED_NUM_INV_RR   15
 
#define INPUT_BTN_RTD   INPUT_BTN_2
 
#define INPUT_BTN_FAULT_RESET   INPUT_BTN_3
 
#define INPUT_BTN_UP   INPUT_BTN_4
 
#define INPUT_BTN_DOWN   INPUT_BTN_6
 
#define INPUT_BTN_LEFT   INPUT_BTN_5
 
#define INPUT_BTN_RIGHT   INPUT_BTN_7
 
#define INPUT_BTN_MODIFIER_DOUBLE_TAP   0x1000
 
#define INPUT_BTN_DISABLE   (INPUT_BTN_RTD | INPUT_BTN_MODIFIER_DOUBLE_TAP)
 
#define INPUT_BTN_MODIFIER_HOLD   0x2000
 
#define INPUT_BTN_RESET   (INPUT_BTN_RTD | INPUT_BTN_MODIFIER_HOLD)
 
#define INPUT_BTN_UP_HOLD   (INPUT_BTN_UP | INPUT_BTN_MODIFIER_HOLD)
 
#define INPUT_BTN_DOWN_HOLD   (INPUT_BTN_DOWN | INPUT_BTN_MODIFIER_HOLD)
 

Detailed Description

Dashboard and display device tree binding constants.

Author
quantumspawner
Version
0.0.1
Date
2025-07-08

Macro Definition Documentation

◆ INPUT_BTN_DISABLE

#define INPUT_BTN_DISABLE   (INPUT_BTN_RTD | INPUT_BTN_MODIFIER_DOUBLE_TAP)

◆ INPUT_BTN_DOWN

#define INPUT_BTN_DOWN   INPUT_BTN_6

◆ INPUT_BTN_DOWN_HOLD

#define INPUT_BTN_DOWN_HOLD   (INPUT_BTN_DOWN | INPUT_BTN_MODIFIER_HOLD)

◆ INPUT_BTN_FAULT_RESET

#define INPUT_BTN_FAULT_RESET   INPUT_BTN_3

◆ INPUT_BTN_LEFT

#define INPUT_BTN_LEFT   INPUT_BTN_5

◆ INPUT_BTN_MODIFIER_DOUBLE_TAP

#define INPUT_BTN_MODIFIER_DOUBLE_TAP   0x1000

◆ INPUT_BTN_MODIFIER_HOLD

#define INPUT_BTN_MODIFIER_HOLD   0x2000

◆ INPUT_BTN_RESET

#define INPUT_BTN_RESET   (INPUT_BTN_RTD | INPUT_BTN_MODIFIER_HOLD)

◆ INPUT_BTN_RIGHT

#define INPUT_BTN_RIGHT   INPUT_BTN_7

◆ INPUT_BTN_RTD

#define INPUT_BTN_RTD   INPUT_BTN_2

◆ INPUT_BTN_UP

#define INPUT_BTN_UP   INPUT_BTN_4

◆ INPUT_BTN_UP_HOLD

#define INPUT_BTN_UP_HOLD   (INPUT_BTN_UP | INPUT_BTN_MODIFIER_HOLD)

◆ LED_NUM_ERROR

#define LED_NUM_ERROR   12

◆ LED_NUM_INV_RL

#define LED_NUM_INV_RL   14

◆ LED_NUM_INV_RR

#define LED_NUM_INV_RR   15

◆ LED_NUM_PEDAL_PLAUS

#define LED_NUM_PEDAL_PLAUS   4

◆ LED_NUM_RUNNING

#define LED_NUM_RUNNING   8