Skip to content

Commit af6c818

Browse files
committed
Rename category to 'International' instead of 'ISO/JIS'
1 parent d39e0f4 commit af6c818

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

src/behaviors/HidUsagePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const HidUsageGrid = ({
144144
return categories;
145145
}, [allUsages]);
146146

147-
const categoryOrder = ["Basic", "Numpad", "Apps/Media/Special", "ISO/JIS", "Other"];
147+
const categoryOrder = ["Basic", "Numpad", "Apps/Media/Special", "International", "Other"];
148148
const sortedCategories = Object.keys(categorizedUsages).sort((a, b) => {
149149
const indexA = categoryOrder.indexOf(a);
150150
const indexB = categoryOrder.indexOf(b);

src/hid-usage-metadata.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"47": { "short": "[ {", "category": "Basic" },
4747
"48": { "short": "] }", "category": "Basic" },
4848
"49": { "short": "\\ |", "category": "Basic" },
49-
"50": { "short": "NUHS", "long": "NonUS Hash", "category": "ISO/JIS" },
49+
"50": { "short": "NUHS", "long": "NonUS Hash", "category": "International" },
5050
"51": { "short": "; :", "category": "Basic" },
5151
"52": { "short": "' \"", "category": "Basic" },
5252
"53": { "short": "` ~", "category": "Basic" },
@@ -98,7 +98,7 @@
9898
"99": { "short": ". Dl", "med": ". Del", "long": ". Delete", "category": "Numpad" },
9999
"101": { "short": "Menu", "med": "Menu", "long": "Applicat'n (Menu)", "category": "Basic" },
100100
"102": { "short": "Power", "med": "Power", "category": "Apps/Media/Special" },
101-
"100": { "short": "NUBS", "category": "ISO/JIS" },
101+
"100": { "short": "NUBS", "category": "International" },
102102
"103": { "short": "=", "category": "Numpad" },
103103
"104": { "category": "Apps/Media/Special" },
104104
"105": { "category": "Apps/Media/Special" },
@@ -114,24 +114,24 @@
114114
"115": { "category": "Apps/Media/Special" },
115115
"118": { "category": "Apps/Media/Special" },
116116
"133": { "short": ",", "category": "Numpad" },
117-
"135": { "short": "Intl1", "med": "Int1 ろ", "category": "ISO/JIS" },
118-
"136": { "short": "Intl2", "med": "Int2 かな", "category": "ISO/JIS" },
119-
"137": { "short": "Intl3", "med": "Int3 ¥","category": "ISO/JIS" },
120-
"138": { "short": "Intl4", "med": "Int4 変換","category": "ISO/JIS" },
121-
"139": { "short": "Intl5", "med": "Int5 無変換","category": "ISO/JIS" },
122-
"140": { "short": "Intl6", "med": "Int6 ,","category": "ISO/JIS" },
123-
"141": { "short": "Intl7", "category": "ISO/JIS" },
124-
"142": { "short": "Intl8", "category": "ISO/JIS" },
125-
"143": { "short": "Intl9", "category": "ISO/JIS" },
126-
"144": { "short": "Lang1", "med": "Lang1 한/영", "category": "ISO/JIS" },
127-
"145": { "short": "Lang2", "med": "Lang2 한자", "category": "ISO/JIS" },
128-
"146": { "short": "Lang3", "med": "Lang3 カタカナ", "category": "ISO/JIS" },
129-
"147": { "short": "Lang4", "med": "Lang4 ひらがな", "category": "ISO/JIS" },
130-
"148": { "short": "Lang5", "med": "Lang5 半角/全角", "category": "ISO/JIS" },
131-
"149": { "short": "Lang6", "category": "ISO/JIS" },
132-
"150": { "short": "Lang7", "category": "ISO/JIS" },
133-
"151": { "short": "Lang8", "category": "ISO/JIS" },
134-
"152": { "short": "Lang9", "category": "ISO/JIS" },
117+
"135": { "short": "Intl1", "med": "Int1 ろ", "category": "International" },
118+
"136": { "short": "Intl2", "med": "Int2 かな", "category": "International" },
119+
"137": { "short": "Intl3", "med": "Int3 ¥","category": "International" },
120+
"138": { "short": "Intl4", "med": "Int4 変換","category": "International" },
121+
"139": { "short": "Intl5", "med": "Int5 無変換","category": "International" },
122+
"140": { "short": "Intl6", "med": "Int6 ,","category": "International" },
123+
"141": { "short": "Intl7", "category": "International" },
124+
"142": { "short": "Intl8", "category": "International" },
125+
"143": { "short": "Intl9", "category": "International" },
126+
"144": { "short": "Lang1", "med": "Lang1 한/영", "category": "International" },
127+
"145": { "short": "Lang2", "med": "Lang2 한자", "category": "International" },
128+
"146": { "short": "Lang3", "med": "Lang3 カタカナ", "category": "International" },
129+
"147": { "short": "Lang4", "med": "Lang4 ひらがな", "category": "International" },
130+
"148": { "short": "Lang5", "med": "Lang5 半角/全角", "category": "International" },
131+
"149": { "short": "Lang6", "category": "International" },
132+
"150": { "short": "Lang7", "category": "International" },
133+
"151": { "short": "Lang8", "category": "International" },
134+
"152": { "short": "Lang9", "category": "International" },
135135
"176": { "short": "00", "category": "Numpad" },
136136
"177": { "short": "000" },
137137
"224": { "short": "Ctrl", "med": "L Ctrl", "category": "Basic" },

0 commit comments

Comments
 (0)