Skip to content

Commit 6f0aa7e

Browse files
committed
Updated support devices table
1 parent 5bbb4e5 commit 6f0aa7e

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

components/retro-go/README.md

+13-14
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,21 @@ Retro-Go's shared library (or framework) provides an easy way to port emulators
55

66
# Supported Devices
77

8-
I develop and test mainly on the [ODROID-GO](targets/odroid-go/docs/README.md). I occasionally test on the [MRGC-G32](targets/mrgc-g32/docs/README.md) as well. All other devices have various degrees of support.
9-
10-
| Name | Status |
11-
|-------------------------------------------------------|--------|
8+
| Name | Status |
9+
|---------------------------------------------------------------|--------|
1210
| [byteboi-rev1](targets/byteboi-rev1/docs/README.md) | |
1311
| [esp32s3-devkit-c](targets/esp32s3-devkit-c/docs/README.md) | |
14-
| [esplay-micro](targets/esplay-micro/docs/README.md) | |
15-
| [esplay-s3](targets/esplay-s3/docs/README.md) | |
16-
| [fri3d-2024](targets/fri3d-2024/docs/README.md) | |
17-
| [mrgc-g32](targets/mrgc-g32/docs/README.md) | |
18-
| [mrgc-gbm](targets/mrgc-gbm/docs/README.md) | |
19-
| [odroid-go](targets/odroid-go/docs/README.md) | |
20-
| [qtpy-gamer](targets/qtpy-gamer/docs/README.md) | |
21-
| [retro-esp32](targets/retro-esp32/docs/README.md) | |
22-
| [retro-ruler](targets/retro-ruler-V1/docs/README.md) | |
23-
| [sdl2](targets/sdl2/docs/README.md) | |
12+
| [esplay-micro](targets/esplay-micro/docs/README.md) | |
13+
| [esplay-s3](targets/esplay-s3/docs/README.md) | Broken |
14+
| [fri3d-2024](targets/fri3d-2024/docs/README.md) | |
15+
| [mrgc-g32](targets/mrgc-g32/docs/README.md) | Official |
16+
| [mrgc-gbm](targets/mrgc-gbm/docs/README.md) | |
17+
| [odroid-go](targets/odroid-go/docs/README.md) | Official |
18+
| [qtpy-gamer](targets/qtpy-gamer/docs/README.md) | Broken |
19+
| [rachel-esp32](targets/rachel-esp32/docs/README.md) | |
20+
| [retro-esp32](targets/retro-esp32/docs/README.md) | |
21+
| [retro-ruler](targets/retro-ruler-V1/docs/README.md) | |
22+
| [sdl2](targets/sdl2/docs/README.md) | Broken |
2423

2524

2625
# Credits

components/retro-go/config.h

+12-1
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,25 @@
104104
#define RG_BATTERY_CALC_VOLTAGE(raw) (0)
105105
#endif
106106

107+
// These values are to prevent jitter, so that the battery icon doesn't flicker or
108+
// percent display doesn't oscillate between 77 and 78%, for example
107109
#ifndef RG_BATTERY_UPDATE_THRESHOLD
108110
#define RG_BATTERY_UPDATE_THRESHOLD 1.0f
109111
#endif
110-
111112
#ifndef RG_BATTERY_UPDATE_THRESHOLD_VOLT
112113
#define RG_BATTERY_UPDATE_THRESHOLD_VOLT 0.010f
113114
#endif
114115

116+
// Number of cycles the hardware state must be maintained before the change is reflected in rg_input_read_gamepad.
117+
// The reaction time is calculated as such: N*10ms +/- 10ms. Different hardware types have different requirements.
118+
// Valid range is 1-9
119+
#ifndef RG_GAMEPAD_DEBOUNCE_PRESS
120+
#define RG_GAMEPAD_DEBOUNCE_PRESS (2)
121+
#endif
122+
#ifndef RG_GAMEPAD_DEBOUNCE_RELEASE
123+
#define RG_GAMEPAD_DEBOUNCE_RELEASE (2)
124+
#endif
125+
115126
#ifndef RG_LOG_COLORS
116127
#define RG_LOG_COLORS (1)
117128
#endif

components/retro-go/rg_input.c

-10
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@
2020
static esp_adc_cal_characteristics_t adc_chars;
2121
#endif
2222

23-
// Number of cycles the hardware state must be maintained before the change is reflected in rg_input_read_gamepad.
24-
// The reaction time is calculated as such: N*10ms +/- 10ms. Different hardware types have different requirements.
25-
// Valid range is 1-9
26-
#ifndef RG_GAMEPAD_DEBOUNCE_PRESS
27-
#define RG_GAMEPAD_DEBOUNCE_PRESS (2)
28-
#endif
29-
#ifndef RG_GAMEPAD_DEBOUNCE_RELEASE
30-
#define RG_GAMEPAD_DEBOUNCE_RELEASE (2)
31-
#endif
32-
3323
#ifdef RG_GAMEPAD_ADC_MAP
3424
static rg_keymap_adc_t keymap_adc[] = RG_GAMEPAD_ADC_MAP;
3525
#endif

0 commit comments

Comments
 (0)