Skip to content

Commit 28b7a17

Browse files
committed
feat: add cc2 mounting hole depth information
1 parent f00e5ba commit 28b7a17

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/app/const/cross-reference.consts.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,7 @@ export const CROSS_REFERENCES = {
246246
},
247247
'. The press-down key travel is the travel of center push on the datasheet.',
248248
],
249+
cc2_mounting_hole_depth: [
250+
'I measured this depth. I screwed a long and straight ¼"-20 screw into a CC2 til the end, marked the position, and measured the length between the screw tip and the mark.',
251+
],
249252
} satisfies Record<CrossReferenceKey, CrossReferenceContent>;

src/app/const/device.consts.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,11 @@ const CC2: Device = {
294294
},
295295
switchStyle: '3-D Tactile',
296296
actuationForce: { type: 'string', value: '42 gF / 240 gF' },
297-
hardwareInterface: 'Female ¼"-20 Thread',
297+
hardwareInterface: {
298+
type: 'string',
299+
value: 'Female ¼"-20 Thread (Depth: 1.5 cm)',
300+
crossReference: 'cc2_mounting_hole_depth',
301+
},
298302
switchDurability: {
299303
type: 'number',
300304
value: 1000000,

src/app/model/cross-reference.model.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ export type CrossReferenceKey =
3535
| 'm4g_number_of_3d_switches'
3636
| 'm4g_key_travel'
3737
| 'cc2_key_travel'
38-
| 'cc1_key_travel';
38+
| 'cc1_key_travel'
39+
| 'cc2_mounting_hole_depth';

0 commit comments

Comments
 (0)