Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
folium-app
GitHub Repository: folium-app/Folium
Path: blob/a-new-beginning/Folium-iOS/Classes/SkinManager/ButtonHandlers.swift
2 views
//
//  ButtonHandlers.swift
//  Folium-iOS
//
//  Created by Jarrod Norwell on 20/7/2025.
//

import CombinedCores
import GameController
import Plum

typealias GenericButtonHandler = (Button.`Type`, GCControllerPlayerIndex) async -> ()
typealias CytrusButtonHandler = GenericButtonHandler
typealias GrapeButtonHandler = GenericButtonHandler
typealias GuavaButtonHandler = GenericButtonHandler
typealias KiwiButtonHandler = GenericButtonHandler
typealias LycheeButtonHandler = GenericButtonHandler
typealias MandarineButtonHandler = (CombinedCores.MandarineCore.MandarineButton, GCControllerPlayerIndex) -> ()
typealias MangoButtonHandler = GenericButtonHandler
typealias PlumButtonHandler = (SGButton, GCControllerPlayerIndex) -> ()
typealias TomatoButtonHandler = GenericButtonHandler