Contents

GCKeyboard

An object that represents a physical keyboard connected to a device.

Declaration

class GCKeyboard

Overview

To get the keyboard object and its input values, register for the GCKeyboardDidConnect (Swift) or GCKeyboardDidConnectNotification (Objective-C) notification for when a keyboard connects to the device, or use the coalesced class property. Then get the input values from the keyboard object’s keyboardInput controller profile.

Topics

Discovering keyboards

Getting input values

Structures

See Also

Game controllers