The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/input/input.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/input/input.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Common input schema binding
    8 
    9 maintainers:
   10   - Dmitry Torokhov <dmitry.torokhov@gmail.com>
   11 
   12 properties:
   13   autorepeat:
   14     description: Enable autorepeat when key is pressed and held down.
   15     type: boolean
   16 
   17   linux,keycodes:
   18     description:
   19       Specifies an array of numeric keycode values to be used for reporting
   20       button presses.
   21     $ref: /schemas/types.yaml#/definitions/uint32-array
   22     items:
   23       minimum: 0
   24       maximum: 0x2ff
   25 
   26   linux,code:
   27     description:
   28       Specifies a single numeric keycode value to be used for reporting
   29       button/switch events. Specify KEY_RESERVED (0) to opt out of event
   30       reporting.
   31     $ref: /schemas/types.yaml#/definitions/uint32
   32     maximum: 0x2ff
   33 
   34   linux,input-type:
   35     $ref: /schemas/types.yaml#/definitions/uint32
   36     enum:
   37       - 1   # EV_KEY
   38       - 2   # EV_REL
   39       - 3   # EV_ABS
   40       - 5   # EV_SW
   41     description:
   42       Specifies whether the event is to be interpreted as a key, relative,
   43       absolute, or switch.
   44 
   45   poll-interval:
   46     description: Poll interval time in milliseconds.
   47     $ref: /schemas/types.yaml#/definitions/uint32
   48 
   49   power-off-time-sec:
   50     description:
   51       Duration in seconds which the key should be kept pressed for device to
   52       power off automatically. Device with key pressed shutdown feature can
   53       specify this property.
   54 
   55   reset-time-sec:
   56     description:
   57       Duration in seconds which the key should be kept pressed for device to
   58       reset automatically. Device with key pressed reset feature can specify
   59       this property.
   60 
   61 dependencies:
   62   linux,input-type: [ "linux,code" ]
   63 
   64 additionalProperties: true

Cache object: 6360cbc46dc67df9421dd308dac482e1


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.