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

Commit d5164dbf authored by Islam Amer's avatar Islam Amer Committed by Matthew Garrett
Browse files

dell-wmi: Add support for eject key on Dell Studio 1555



Fixes pressing the eject key on Dell Studio 1555 does not work and produces
message :

dell-wmi: Unknown key 0 pressed

Signed-off-by: default avatarIslam Amer <pharon@gmail.com>
parent c715a38b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ static void dell_wmi_notify(u32 value, void *context)
			return;
		}

		if (dell_new_hk_type)
		if (dell_new_hk_type || buffer_entry[1] == 0x0)
			reported_key = (int)buffer_entry[2];
		else
			reported_key = (int)buffer_entry[1] & 0xffff;