docs(client): document the raster chord key constants

This commit is contained in:
Serkyo 2026-08-02 01:59:02 +02:00
parent 15a3c74bec
commit c3d757f8dc

View file

@ -21,8 +21,10 @@ const DEBUG_MODIFIER: KeyCode = KeyCode::F1;
/// The keys that, held alongside [`DEBUG_MODIFIER`], select the solo form of a debug view. Both shifts are accepted so the chord is reachable with either hand. /// The keys that, held alongside [`DEBUG_MODIFIER`], select the solo form of a debug view. Both shifts are accepted so the chord is reachable with either hand.
const SOLO_MODIFIER: [KeyCode; 2] = [KeyCode::ShiftLeft, KeyCode::ShiftRight]; const SOLO_MODIFIER: [KeyCode; 2] = [KeyCode::ShiftLeft, KeyCode::ShiftRight];
/// The key that, held alongside [`DEBUG_MODIFIER`], selects the vertex-point view.
const VERTEX_POINTS_OVERLAY_KEY: KeyCode = KeyCode::KeyV; const VERTEX_POINTS_OVERLAY_KEY: KeyCode = KeyCode::KeyV;
/// The key that, held alongside [`DEBUG_MODIFIER`], selects the wireframe view.
const WIREFRAME_OVERLAY_KEY: KeyCode = KeyCode::KeyB; const WIREFRAME_OVERLAY_KEY: KeyCode = KeyCode::KeyB;
/// The key that, held alongside [`DEBUG_MODIFIER`], toggles the statistics panel. /// The key that, held alongside [`DEBUG_MODIFIER`], toggles the statistics panel.