shithub: prez

Download patch

ref: c8205b1d9bbe11632b2468246f0d6c8cfa26a9a5
parent: 669dfbd2bcbb5cc02baccde20e1fed032a827a38
author: qwx <qwx@sciops.net>
date: Sat Dec 4 17:20:03 EST 2021

invert buttons 2 and 3 for tablet use

--- a/prez.c
+++ b/prez.c
@@ -530,12 +530,12 @@
 			ink = col;
 			drawpal();
 			break;
-		case 2:
+		case 4:
 			back = col;
 			drawpal();
 			update(nil);
 			break;
-		case 4:
+		case 2:
 			snprint(buf, sizeof(buf), "%06x", c64[i]);
 			if(eenter("Hex", buf, sizeof(buf), &m) == 6){
 				c = strtoll(buf, &e, 16);