InputAnalogActionData
Swift
public struct InputAnalogActionData: Sendable
Steamworks InputAnalogActionData_t
Topics
var mode: InputSourceMode
var mode: InputSourceMode
var x: Float
var x: Float
var y: Float
var y: Float
var active: Bool
var active: Bool
init(mode: InputSourceMode, x: Float, y: Float, active: Bool)
init(mode: InputSourceMode, x: Float, y: Float, active: Bool)
Create a customized InputAnalogActionData
Declaration
Swift
public init(
mode: InputSourceMode = .none, x: Float = 0, y: Float = 0,
active: Bool = false)