shithub: m8c

Download patch

ref: 82a1b35e36d80ce073d2d48a822408fbb465f7b9
parent: d898f8c27247d31bf40f17cf181a55276766714c
author: smootalicious <smootalicious@gmail.com>
date: Mon Jun 13 06:05:55 EDT 2022

Reverted removing key combination for reset display since it may be used by users of the M8 device.

--- a/input.c
+++ b/input.c
@@ -455,6 +455,10 @@
   // Query for SDL events
   handle_sdl_events(conf);
 
+  if (keycode == (key_start | key_select | key_opt | key_edit)) {
+    key = (input_msg_s){special, msg_reset_display};
+  }
+
   if (key.type == normal) {
     /* Normal input keys go through some event-based manipulation in
        handle_sdl_events(), the value is stored in keycode variable */
--