Skip to content

Commit

Permalink
Merge branch 'disable_sony_input'
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl-github-acc committed Sep 4, 2023
2 parents 869f20f + c8bc164 commit a294349
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,12 @@ inputdevice(struct wl_listener *listener, void *data)
* available. */
struct wlr_input_device *device = data;
uint32_t caps;
struct libinput_device *libinput_device = (struct libinput_device*)wlr_libinput_get_device_handle(device);

if (device->vendor == 1356 && device->product == 3302) {
libinput_device_config_send_events_set_mode(libinput_device, LIBINPUT_CONFIG_SEND_EVENTS_DISABLED);
return;
}

switch (device->type) {
case WLR_INPUT_DEVICE_KEYBOARD:
Expand Down

0 comments on commit a294349

Please sign in to comment.