get_apple_remote Function

Defined in pyglet.input

get_apple_remote(display=None)

Get the Apple remote control device.

The Apple remote is the small white 6-button remote control that accompanies most recent Apple desktops and laptops. The remote can only be used with Mac OS X.

Parameters:display (Display) – Currently ignored.
Return type:AppleRemote
Returns:The remote device, or None if the computer does not support it.

Previous topic

DeviceOpenException

Next topic

get_devices Function