on 33797f2 help sign in
unity8/plugins/Unity/InputInfo/InputInfo.qmltypes
71 lines 2.1 kB history raw
1import QtQuick.tooling 1.1
3// This file describes the plugin-supplied types contained in the library.
4// It is used for QML tooling purposes only.
5//
6// This file was auto-generated by:
7// 'qmlplugindump -notrelocatable Unity.InputInfo 0.1 plugins'
9Module {
10 Component {
11 name: "QDeclarativeInputDeviceModel"
12 prototype: "QAbstractListModel"
13 exports: ["Unity.InputInfo/InputDeviceModel 0.1"]
14 exportMetaObjectRevisions: [0]
15 Property { name: "deviceFilter"; type: "QInputDevice::InputType" }
16 Property { name: "count"; type: "int"; isReadonly: true }
17 Signal {
18 name: "deviceAdded"
19 Parameter { name: "devicePath"; type: "string" }
20 }
21 Signal {
22 name: "deviceRemoved"
23 Parameter { name: "devicePath"; type: "string" }
24 }
25 Signal {
26 name: "deviceFilterChanged"
27 Parameter { name: "filter"; type: "QInputDevice::InputType" }
28 }
29 Method { name: "updateDeviceList" }
30 Method {
31 name: "indexOf"
32 type: "int"
33 Parameter { name: "devicePath"; type: "string" }
34 }
35 Method {
36 name: "get"
37 type: "QInputDevice*"
38 Parameter { name: "index"; type: "int" }
39 }
40 }
41 Component {
42 name: "QInputDevice"
43 prototype: "QObject"
44 exports: ["Unity.InputInfo/InputInfo 0.1"]
45 exportMetaObjectRevisions: [0]
46 Enum {
47 name: "InputType"
48 values: {
49 "Unknown": 0,
50 "Button": 1,
51 "Mouse": 2,
52 "TouchPad": 4,
53 "TouchScreen": 8,
54 "Keyboard": 16,
55 "Switch": 32
56 }
57 }
58 Enum {
59 name: "InputTypeFlags"
60 values: {
61 "Unknown": 0,
62 "Button": 1,
63 "Mouse": 2,
64 "TouchPad": 4,
65 "TouchScreen": 8,
66 "Keyboard": 16,
67 "Switch": 32
68 }
69 }
70 }