shithub: minivmac

Download patch

ref: d311c8e87038a48dc4162df0e2821c04dc0f6fa3
parent: 649e0914486b43f31c89f8d17efc16d9df120198
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Jun 6 09:33:20 EDT 2020

use F1 for Option, F2 for Command

--- a/src/OSPLAN9.c
+++ b/src/OSPLAN9.c
@@ -973,7 +973,7 @@
 
 		//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 @@
 
 		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;