~ft/minivmac

d311c8e87038a48dc4162df0e2821c04dc0f6fa3 — Sigrid Haflínudóttir 3 months ago 649e091
use F1 for Option, F2 for Command
1 files changed, 2 insertions(+), 3 deletions(-)

M src/OSPLAN9.c
M src/OSPLAN9.c => src/OSPLAN9.c +2 -3
@@ 973,7 973,7 @@ LOCALFUNC ui3r Rune2MacKeyCode(Rune i)

		//case KF|1: v = MKC_formac_F1; break;
		//case KF|2: v = MKC_formac_F2; break;
		//case KF|3: v = MKC_formac_F3; break;
		case KF|3: v = MKC_formac_F3; break;
		case KF|4: v = MKC_formac_F4; break;
		case KF|5: v = MKC_formac_F5; break;
		case KF|6: v = MKC_F6; break;


@@ 986,9 986,8 @@ LOCALFUNC ui3r Rune2MacKeyCode(Rune i)

		case Kshift: v = MKC_formac_Shift; break;
		case Kctl: v = MKC_formac_Control; break;
		case Kalt: case KF|1: v = MKC_formac_Command; break;
		case KF|1: v = MKC_formac_Option; break;
		case KF|2: v = MKC_formac_Command; break;
		case KF|3: v = MKC_formac_Option; break;

		//FIXME case SDLK_HELP: v = MKC_formac_Help; break;
		//FIXME case SDLK_PRINT: v = MKC_Print; break;