You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main/classes/pinnacle.input.libinput.DeviceHandle.md
+38-19Lines changed: 38 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,8 @@ This only affects devices with touch capability.
122
122
123
123
#### Parameters
124
124
125
-
`output`: <code><ahref="/lua-reference/main/classes/pinnacle.output.OutputHandle">pinnacle.output.OutputHandle</a></code> - The output to map the device's input to
125
+
`output` - The output to map the device's input to
`mods`: <code><ahref="/lua-reference/main/enums/pinnacle.input.Mod">pinnacle.input.Mod</a>[]</code> - The modifiers that need to be held down for the bind to trigger<br>
77
-
`key`: <code><ahref="/lua-reference/main/enums/pinnacle.input.Key">pinnacle.input.Key</a> | string</code> - The key used to trigger the bind<br>
78
-
`on_press`: <code>fun()</code> - The function to run when the bind is triggered<br>
79
-
`bind_info?`: <code>{ group?: string, description?: string }</code> - An optional group and description that is displayed in the bind overlay.
76
+
`mods` - The modifiers that need to be held down for the bind to trigger
`mods`: <code><ahref="/lua-reference/main/enums/pinnacle.input.Mod">pinnacle.input.Mod</a>[]</code> - The modifiers that need to be held down for the bind to trigger<br>
126
-
`button`: <code><ahref="/lua-reference/main/enums/pinnacle.input.MouseButton">pinnacle.input.MouseButton</a></code> - The mouse button used to trigger the bind<br>
127
-
`on_press`: <code>fun()</code> - The function to run when the bind is triggered<br>
128
-
`bind_info?`: <code>{ group?: string, description?: string }</code> - An optional group and description that will be displayed in the bind overlay.
129
+
`mods` - The modifiers that need to be held down for the bind to trigger
`keymap`: <code>string</code> - The keymap to set.
245
+
`keymap` - The keymap to set.
246
+
| <code>string</code>
234
247
235
248
236
249
@@ -270,7 +283,8 @@ Fails if the index is out of bounds.
270
283
271
284
#### Parameters
272
285
273
-
`index`: <code>integer</code> - The index of the layout to switch to.
286
+
`index` - The index of the layout to switch to.
287
+
| <code>integer</code>
274
288
275
289
276
290
@@ -289,7 +303,8 @@ This allows you to set it at runtime.
289
303
290
304
#### Parameters
291
305
292
-
`theme`: <code>string</code> - The name of the xcursor theme.
306
+
`theme` - The name of the xcursor theme.
307
+
| <code>string</code>
293
308
294
309
295
310
@@ -308,7 +323,8 @@ This allows you to set it at runtime.
308
323
309
324
#### Parameters
310
325
311
-
`size`: <code>integer</code> - The new size of the cursor.
326
+
`size` - The new size of the cursor.
327
+
| <code>integer</code>
312
328
313
329
314
330
@@ -341,7 +357,8 @@ Input.connect_signal({
341
357
342
358
#### Parameters
343
359
344
-
`signals`: <code><ahref="/lua-reference/main/classes/pinnacle.input.InputSignal">pinnacle.input.InputSignal</a></code> - The signal you want to connect to
0 commit comments