+
+ 0
+ Orientation
+
+ {
+ control.applyNapeOrientation(layer, Number(event.currentTarget.value));
+ }}
+ >
+ {KEYCHRON_NAPE_ORIENTATION_OPTIONS.map((option) => (
+ {option.label}
+ ))}
+
+
+
+
+ {KEY_ROWS.map((row) => {
+ const key = map.keys.find((entry) => entry.col === row.col);
+ if (!key) return null;
+ const target: NapeAssignmentControl = { kind: "key", col: row.col };
+ const staged = stagedFor(snapshot.stagedNapeAssignments, layer, target);
+ return (
+
+ {row.number}
+ {row.name}
+
+
+ );
+ })}
+ {([
+ { clockwise: false, number: "7", name: "Scroll wheel Counter Clockwise", current: map.wheel.ccw },
+ { clockwise: true, number: "8", name: "Scroll wheel Clockwise", current: map.wheel.cw },
+ ] as const).map((row) => {
+ const target: NapeAssignmentControl = { kind: "wheel", clockwise: row.clockwise };
+ const staged = stagedFor(snapshot.stagedNapeAssignments, layer, target);
+ return (
+
+ {row.number}
+ {row.name}
+
+
+ );
+ })}
+