Skip to content

Commit 6a1b3bc

Browse files
committed
chore: update m4g key cap material
1 parent aa26d6a commit 6a1b3bc

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
@@ -255,4 +255,7 @@ export const CROSS_REFERENCES = {
255255
ccu_key_cap_dependence: [
256256
'You can customize the key caps of CCU, and this spec will depend on the shape of the key caps.',
257257
],
258+
m4g_key_cap: [
259+
'The key caps on M4G was made of rubber X-ring and 3D-printed plastic. The latest ones are made of molded and textured rubber.',
260+
],
258261
} satisfies Record<CrossReferenceKey, CrossReferenceContent>;

src/app/const/device.consts.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ const M4G: Device = {
7979
value: '3D-printed Plastic',
8080
crossReference: 'm4g_base_material',
8181
},
82-
keyCap: 'Rubber X-Ring + 3D-printed Plastic',
82+
keyCap: {
83+
type: 'string',
84+
value: 'Molded and Textured Rubber',
85+
crossReference: 'm4g_key_cap',
86+
},
8387
},
8488
other: {
8589
pointingDevice: {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ export type CrossReferenceKey =
3838
| 'cc1_key_travel'
3939
| 'cc2_mounting_hole_depth'
4040
| 'ccu_externals_dependence'
41-
| 'ccu_key_cap_dependence';
41+
| 'ccu_key_cap_dependence'
42+
| 'm4g_key_cap';

0 commit comments

Comments
 (0)