AEFeinstein / AEFeinstein/Super-2024-Swadge-FW

Button Handling with CH32v003

Đang mở
#651 2 bình luận 0 reaction 1 người được giao Được @cnlohr nhận Xem trên GitHub
Help Wanted Utility
Ngôn ngữ chính
C
Star
34
Fork
22
Merge trung bình
3 ngày 15 giờ
Pull request đã merge (30 ngày)
10

Mô tả

## Summary
Rework hdw-btn and related hw API for the CH32 to do the button processing instead of the ESP32.

## Technical Spec
Currently the button info is a [bitmask](https://adam.feinste.in/Super-2024-Swadge-FW/hdw-btn_8h.html#a434eef640087504b945dd322ba6ce390) starting at PB_UP. The GPIO is defined in [initButtons](https://adam.feinste.in/Super-2024-Swadge-FW/hdw-btn_8h.html#a36495b0c8ced885ad04274d06929f588). I'm not sure we want to tear out the ESP32 GPIO support for the buttons, but perhaps we can add an option for the CH32? I dunno, you're the real programmer, I just work here.

## UI
NA

## How to Test

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.