firmware/src/input
Jonathan Bennett 1a2c7f00e1
Gps cleanup and powersave (#2807)
* Refactor GPS to not probe if pins not defined

* Use Named Constructor to clean up code

* Move doGPSPowerSave to GPS class

* Make sure to set GPS awake on triple-click

* Cleanup and remove dead code

* Rename GPS_PIN_WAKE to GPS_PIN_STANDBY

* Actually put GPS to sleep between fixes

* add GPS_POWER_TOGGLE for heltec-tracker and t-deck

* Change GPS_THREAD_INTERVAL to 200 ms

* More dead code, compiler warnings, and add returns

* Add Number of sats to log output

* Add pgs enable and triple-click config

* Track average GPS fix time to judge low-power time

* Feed PositionModule on GPS fix

* Don't turn off the 3v3_s line on RAK4631
when the rotary is present.

* Add GPS power standbyOnly option

* Delay setting time currentQuality
to avoid strange log message.

* Typos, comments, and remove unused variable

* Short-circuit the setAwake logic on GPS disable

* heltec-tracker 0.3 GPS power saving

* set en_gpio to defined state

* Fix fixed_position logic with GPS disabled

* Don't process GPS serial when not isAwake

* Add quirk for Heltec Tracker GPS powersave

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: mverch67 <manuel.verch@gmx.de>
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com>
2023-09-23 23:45:35 -05:00
..
BBQ10Keyboard.cpp Try manual scancode for SYM 2023-08-22 11:23:19 +02:00
BBQ10Keyboard.h Try manual scancode for SYM 2023-08-22 11:23:19 +02:00
cardKbI2cImpl.cpp support BB Q10 keyboard (#2703) 2023-08-19 08:37:42 -05:00
cardKbI2cImpl.h trunk roundhouse kick 2023-01-21 21:23:24 +01:00
InputBroker.cpp trunk roundhouse kick 2023-01-21 21:23:24 +01:00
InputBroker.h trunk roundhouse kick 2023-01-21 21:23:24 +01:00
kbI2cBase.cpp IGOR! Fetch me the brain! 2023-08-25 16:44:39 +02:00
kbI2cBase.h Try manual scancode for SYM 2023-08-22 11:23:19 +02:00
kbMatrixBase.cpp fix building for other platforms 2023-08-07 19:57:47 +02:00
kbMatrixBase.h Let's see what this breaks... 2023-08-07 19:34:42 +02:00
kbMatrixImpl.cpp fix building for other platforms 2023-08-07 19:57:47 +02:00
kbMatrixImpl.h Let's see what this breaks... 2023-08-07 19:34:42 +02:00
RotaryEncoderInterruptBase.cpp re-add namespacing in protobufs. Let's see what i missed. Portduino likely ... 2023-01-21 21:23:24 +01:00
RotaryEncoderInterruptBase.h woops 2023-03-12 20:20:55 +01:00
RotaryEncoderInterruptImpl1.cpp Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
RotaryEncoderInterruptImpl1.h Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
TouchScreenBase.cpp T-Watch fixes 2023-08-08 18:06:39 +02:00
TouchScreenBase.h T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
TouchScreenImpl1.cpp T-Watch fixes 2023-08-08 18:06:39 +02:00
TouchScreenImpl1.h T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
TrackballInterruptBase.cpp fix T-Deck trackball crashes (#2714) 2023-08-12 19:44:05 -05:00
TrackballInterruptBase.h fix T-Deck trackball crashes (#2714) 2023-08-12 19:44:05 -05:00
TrackballInterruptImpl1.cpp T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
TrackballInterruptImpl1.h T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
UpDownInterruptBase.cpp T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
UpDownInterruptBase.h woops 2023-03-12 20:20:55 +01:00
UpDownInterruptImpl1.cpp Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
UpDownInterruptImpl1.h Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00