/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * Key-binding config (opened from a controller/hand panel's gear). Restyled to * the shared control grid: one row per action — [label · binding chip · clear] — where * the chip shows the bound key via MappedKeyDisplay (a glyph, not the raw code) * and clicking it listens for the next key / mouse-button press. Thumbstick * directions render as a flat ↑/↓/←/→ list under a section header; everything * else falls under "Buttons". A footer resets the whole hand to its defaults. */ import React from 'react'; export type KeyMapType = Partial>; export declare const DEFAULT_KEYMAP: KeyMapType; type KeyMapStore = { keyMap: KeyMapType; bindKey: (handedness: 'left' | 'right', action: string, keyCode?: string) => void; resetKeyMap: (handedness: 'left' | 'right') => void; }; export declare const useKeyMapStore: import("zustand").UseBoundStore>; interface ControlsMapperProps { handedness: 'left' | 'right'; actions: string[]; } export declare const ControlsMapper: React.FC; export {}; //# sourceMappingURL=mapper.d.ts.map