Skip to content

Commit

Permalink
Implement UX for multi selection for base profile and single selectio…
Browse files Browse the repository at this point in the history
…n for profiles
  • Loading branch information
Pelsin committed May 4, 2024
1 parent 7dd59ce commit be460f9
Show file tree
Hide file tree
Showing 2 changed files with 225 additions and 292 deletions.
9 changes: 0 additions & 9 deletions www/src/Data/Pins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,5 @@ export const BUTTON_ACTIONS = {
CUSTOM_BUTTON_COMBO: 40,
} as const;

// Hide from select options / Disable select if returned from board
export const NON_SELECTABLE_BUTTON_ACTIONS = [
BUTTON_ACTIONS.RESERVED,
BUTTON_ACTIONS.ASSIGNED_TO_ADDON,
BUTTON_ACTIONS.BUTTON_PRESS_TURBO,
BUTTON_ACTIONS.BUTTON_PRESS_MACRO,
BUTTON_ACTIONS.CUSTOM_BUTTON_COMBO,
] as const;

type PinActionKeys = keyof typeof BUTTON_ACTIONS;
export type PinActionValues = (typeof BUTTON_ACTIONS)[PinActionKeys];

0 comments on commit be460f9

Please sign in to comment.