Skip to content

Commit

Permalink
Merge pull request #19 from jctemkin/brightness-quirk
Browse files Browse the repository at this point in the history
[xcpmd] Bring back missing quirk check for Dell brightness keys
  • Loading branch information
rossphilipson committed Dec 7, 2015
2 parents 3e9b2cc + 7e407a9 commit 5ce626a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcpmd/src/acpi-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ int xcpmd_process_input(int input_value) {
break;
case XCPMD_INPUT_BRIGHTNESSUP:
case XCPMD_INPUT_BRIGHTNESSDOWN:
/* Only HP laptops use input events for brightness */
if (pm_quirks & PM_QUIRK_HP_HOTKEY_INPUT)
/* Some laptops use input events for brightness */
if (pm_quirks & (PM_QUIRK_HP_HOTKEY_INPUT | PM_QUIRK_SW_ASSIST_BCL))
handle_bcl_event(input_value == XCPMD_INPUT_BRIGHTNESSUP ? BCL_UP : BCL_DOWN);
break;
default:
Expand Down

0 comments on commit 5ce626a

Please sign in to comment.