Add triple press button action for heltec (#976)

Just adding the triple click function.

Co-authored-by: rcarteraz <robert.l.carter2@gmail.com>
Co-authored-by: Tommy Ekstrand <tekstrand@users.noreply.github.com>
This commit is contained in:
HarukiToreda 2024-02-07 18:47:00 -05:00 committed by GitHub
parent 0849ac5b31
commit 9bf9637614
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,3 +13,4 @@ sidebar_position: 1
- **Long press:** Will signal the device to shutdown after 5 seconds. - **Long press:** Will signal the device to shutdown after 5 seconds.
- **Single press:** Changes the information page displayed on the device's screen. - **Single press:** Changes the information page displayed on the device's screen.
- **Double press:** Sends an adhoc ping of the device's position to the network. - **Double press:** Sends an adhoc ping of the device's position to the network.
- **Triple press:** Enables/Disables the GPS Module on demand. If an NPN Transistor is added it will cut power to the GPS board. The NPN pin must be configured on the PIN_GPS_EN inside the Position module in the App for this switching to work.