1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-04-17 00:15:25 +00:00

user_io: add FEAT_PS2REP

This commit is contained in:
Gyorgy Szombathelyi
2023-03-26 15:50:52 +02:00
parent 8fe5bcee93
commit 9709119d02
2 changed files with 2 additions and 0 deletions

View File

@@ -258,6 +258,7 @@ static void user_io_read_core_features() {
core_features = (core_features<<8) | spi_in();
}
DisableIO();
if (core_features & FEAT_PS2REP) ps2_typematic_rate = 0x08;
}
void user_io_detect_core_type() {

View File

@@ -94,6 +94,7 @@
#define FEAT_IDE3_ATA 0x0400
#define FEAT_IDE3_CDROM 0x0800
#define FEAT_IDE_MASK 0x0FF0
#define FEAT_PS2REP 0x1000 // typematic repeat by default
#define JOY_RIGHT 0x01
#define JOY_LEFT 0x02