MSzturc / ThinkpadAssistant

An Assistant Application that allows you to use all your Function Keys on a T-Series Thinkpad Laptop
118 stars 13 forks source link

Require for detailed information for ACPI samples #44

Open SukkaW opened 3 years ago

SukkaW commented 3 years ago

I am using ThinkPad E480 (which is a 2018 model), a more modern ThinkPad with different keyboard. Thus I want a detailed information about how to map the key. For example, F10 is for search and should be matched to F18 for Spotlight Search.

Here is a photo of ThinkPad E480's keyboards:

image

And the keymap of ThinkPad E480:

Key Shortcut Function ACPI Method Name
F1 Mute Q43
F2 Vol- Works well with VoodooPS2
F3 Vol+ Works well with VoodooPS2
F4 Mic Q6A
F5 Light- Q15
F6 Light+ Q14
F7 Multi Screen Q16
F8 WiFi Switch Q64
F9 Sun (I don't know what it for) Q66
F10 Search Q60
F11 Keyboard Q61
F12 Star Q62
Fn + PrtScr Q65
MSzturc commented 3 years ago

From the screenshot you provided i would suggest that you start with the acpi from @EETagent which is based on T480 and should have the same KeyboardLayout as yours ( https://github.com/EETagent/T480-OpenCore-Hackintosh/blob/new-acpi/Other/ACPI/SSDT-KBRD.dsl ).

Here is a List of Mappings inside ACPI to get your Keyboard shortcuts running (taken from @tylernguyen documentation)

Remap 1: F4 (Network) to F20 (for use with ThinkpadAssistant) Remap 2: F5 (Brightness Down) Remap 3: F6 (Brightness Up) Remap 4: F7 (Dual Display) to F16 (for use with ThinkpadAssistant) Remap 5: F8 (Network) to F17 (for use with ThinkpadAssistant) Remap 6: F9 (Settings) to F18 (for use with ThinkpadAssistant) Remap 7: F10 (Bluetooth) to [Left Shift + F8] ((for use with ThinkpadAssistant)) Remap 8: F11 (Keyboard) to [Shift+Up] Remap 9: F12 (Star) to F19 (for use with ThinkpadAssistant) Remap 10: PrtSc to F13