Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9166d0f6 authored by Adrian Batzill's avatar Adrian Batzill Committed by Dmitry Torokhov
Browse files

Input: atkbd - add force release keys quirk for Amilo Xi 3650



Signed-off-by: default avatarAdrian Batzill <agib@gmx.de>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 9e68177e
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
@@ -894,6 +894,13 @@ static unsigned int atkbd_amilo_pa1510_forced_release_keys[] = {
	0xb0, 0xae, -1U
	0xb0, 0xae, -1U
};
};


/*
 * Amilo Xi 3650 key release for light touch bar not working
 */
static unsigned int atkbd_amilo_xi3650_forced_release_keys[] = {
	0x67, 0xed, 0x90, 0xa2, 0x99, 0xa4, 0xae, 0xb0, -1U
};

/*
/*
 * atkbd_set_keycode_table() initializes keyboard's keycode table
 * atkbd_set_keycode_table() initializes keyboard's keycode table
 * according to the selected scancode set
 * according to the selected scancode set
@@ -1560,6 +1567,15 @@ static struct dmi_system_id atkbd_dmi_quirk_table[] __initdata = {
		.callback = atkbd_setup_forced_release,
		.callback = atkbd_setup_forced_release,
		.driver_data = atkbd_amilo_pa1510_forced_release_keys,
		.driver_data = atkbd_amilo_pa1510_forced_release_keys,
	},
	},
	{
		.ident = "Fujitsu Amilo Xi 3650",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU SIEMENS"),
			DMI_MATCH(DMI_PRODUCT_NAME, "AMILO Xi 3650"),
		},
		.callback = atkbd_setup_forced_release,
		.driver_data = atkbd_amilo_xi3650_forced_release_keys,
	},
	{ }
	{ }
};
};