blob: b7fac0aeeec1ce65c6d0d288d67757050c8743c8 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.input.report;
/// The VendorId represents the vendor that created this Input device. If the
/// Input device is a HID device, the VendorId maps directly to the HID
/// VendorId. If the Input device is not a HID device, then the VendorId
/// will be greater than 0xFFFF, which is the max HID VendorId.
type VendorId = flexible enum : uint32 {
/// Below are the HID VendorIds, range 0x0000 - 0xFFFF.
GOOGLE = 0x000018d1;
};
/// Below are ProductIds which represents which product this Input device represents. If the
/// Input device is a HID device, the ProductId maps directly to the HID
/// ProductId. If the Input device is not a HID device, then the ProductId
/// will be greater than 0xFFFF, which is the max HID ProductId.
type VendorGoogleProductId = flexible enum : uint32 {
/// Below are the non-HID VendorIds
FOCALTECH_TOUCHSCREEN = 0x00010001;
AMS_LIGHT_SENSOR = 0x00010002;
PC_PS2_KEYBOARD = 0x00010003;
PC_PS2_MOUSE = 0x00010004;
@available(added=HEAD)
ADC_BUTTONS = 0x00010005;
@available(added=HEAD)
GOODIX_TOUCHSCREEN = 0x00010006;
@available(added=HEAD)
HID_BUTTONS = 0x00010007;
@available(added=HEAD)
VIRTIO_MOUSE = 0x00010008;
@available(added=HEAD)
VIRTIO_KEYBOARD = 0x00010009;
@available(added=HEAD)
VIRTIO_TOUCHSCREEN = 0x0001000A;
GOLDFISH_ACCELERATION_SENSOR = 0x901D0001;
GOLDFISH_GYROSCOPE_SENSOR = 0x901D0002;
GOLDFISH_RGBC_LIGHT_SENSOR = 0x901D0003;
};