dirk-cfx-react 1.1.68 → 1.1.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2340,7 +2340,7 @@ var GTA_CONTROLS = [
2340
2340
  // ── Misc ───────────────────────────────────────────────────────────────────
2341
2341
  { id: 51, symbol: "INPUT_CONTEXT", label: "Context (E)", defaultKey: "E", group: "Misc" },
2342
2342
  { id: 52, symbol: "INPUT_CONTEXT_SECONDARY", label: "Context Secondary", defaultKey: "Q", group: "Misc" },
2343
- { id: 73, symbol: "INPUT_CHARACTER_WHEEL", label: "Character Wheel", defaultKey: "Left Alt", group: "Misc" },
2343
+ { id: 19, symbol: "INPUT_CHARACTER_WHEEL", label: "Character Wheel", defaultKey: "Left Alt", group: "Misc" },
2344
2344
  { id: 105, symbol: "INPUT_HUD_SPECIAL", label: "Special Ability", defaultKey: "Caps Lock", group: "Misc" },
2345
2345
  { id: 121, symbol: "INPUT_MULTIPLAYER_INFO", label: "Player List", defaultKey: "Z", group: "Misc" },
2346
2346
  { id: 170, symbol: "INPUT_SAVE_REPLAY_CLIP", label: "Save Replay Clip", defaultKey: "F1", group: "Misc" },
@@ -5279,7 +5279,10 @@ var FiveMKeyBindInput = Object.assign(Root, {
5279
5279
  });
5280
5280
  function buildGroupedData(extraIds = []) {
5281
5281
  const groups = /* @__PURE__ */ new Map();
5282
+ const seen = /* @__PURE__ */ new Set();
5282
5283
  for (const c of GTA_CONTROLS) {
5284
+ if (seen.has(c.id)) continue;
5285
+ seen.add(c.id);
5283
5286
  if (!groups.has(c.group)) groups.set(c.group, []);
5284
5287
  groups.get(c.group).push(c);
5285
5288
  }