removed useless array

pull/685/head
Greenlamp 2024-05-12 13:26:33 +02:00
parent 8f4669cab6
commit 32a9b7170c
2 changed files with 0 additions and 17 deletions

View File

@ -59,22 +59,6 @@ export const settingGamepadDefaults: SettingDefaults = {
[SettingGamepad.Button_Submit]: 0, [SettingGamepad.Button_Submit]: 0,
}; };
export const noOptionsCursors: Array<SettingGamepad> = [
SettingGamepad.Button_Action,
SettingGamepad.Button_Cancel,
SettingGamepad.Button_Menu,
SettingGamepad.Button_Stats,
SettingGamepad.Button_Cycle_Form,
SettingGamepad.Button_Cycle_Shiny,
SettingGamepad.Button_Cycle_Gender,
SettingGamepad.Button_Cycle_Ability,
SettingGamepad.Button_Cycle_Nature,
SettingGamepad.Button_Cycle_Variant,
SettingGamepad.Button_Speed_Up,
SettingGamepad.Button_Slow_Down,
SettingGamepad.Button_Submit,
];
export function setSettingGamepad(scene: BattleScene, setting: SettingGamepad, value: integer): boolean { export function setSettingGamepad(scene: BattleScene, setting: SettingGamepad, value: integer): boolean {
switch (setting) { switch (setting) {
case SettingGamepad.Gamepad_Support: case SettingGamepad.Gamepad_Support:

View File

@ -5,7 +5,6 @@ import UiHandler from "./ui-handler";
import {addWindow} from "./ui-theme"; import {addWindow} from "./ui-theme";
import {Button} from "../enums/buttons"; import {Button} from "../enums/buttons";
import { import {
noOptionsCursors,
SettingGamepad, SettingGamepad,
settingGamepadDefaults, settingGamepadDefaults,
settingGamepadOptions settingGamepadOptions