Description

General type of input device.

Legacy support since 1.8 as Evas_Device_Class.

Fields

  • none - Not a device.
  • seat - The user/seat (the user themselves).
  • keyboard - A regular keyboard, numberpad or attached buttons.
  • mouse - A mouse, trackball or touchpad relative motion device.
  • touch - A touchscreen with fingers or stylus.
  • pen - A special pen device.
  • wand - A laser pointer, wii-style or "Minority Report" pointing device.
  • gamepad - A gamepad controller or joystick.

Signature

enum Efl.Input.Device.Type {
    none: 0,
    seat,
    keyboard,
    mouse,
    touch,
    pen,
    wand,
    gamepad
}

C signature

typedef enum {
    EFL_INPUT_DEVICE_TYPE_NONE = 0,
    EFL_INPUT_DEVICE_TYPE_SEAT,
    EFL_INPUT_DEVICE_TYPE_KEYBOARD,
    EFL_INPUT_DEVICE_TYPE_MOUSE,
    EFL_INPUT_DEVICE_TYPE_TOUCH,
    EFL_INPUT_DEVICE_TYPE_PEN,
    EFL_INPUT_DEVICE_TYPE_WAND,
    EFL_INPUT_DEVICE_TYPE_GAMEPAD
} Efl_Input_Device_Type;