Code samples

This section includes code samples and sample descriptors for interface implementation.

In this section

Topic Description

Laptop/slate mode toggling between states

This topic contains sample code that toggles the laptop/slate mode indicator state.

Windows button sample code

This topic contains a code sample that toggles the identified Windows button down and then up.

ACPI descriptor samples

This topic contains ACPI descriptor samples.

HID button report descriptors

This topic contains sample HID button report descriptors.