aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2017-03-24 18:17:47 -0400
committerJiri Kosina <jkosina@suse.cz>2017-04-06 08:41:17 -0400
commit39254a13d64bc69b83f4097dacc4117d7b865118 (patch)
tree9141eede256dd5818c1b671d9c87e185bd002900
parentb8f0970d2c5a03f5a431d51af74dd1a0ec62fe91 (diff)
HID: sony: DS4 use brighter LED colors
These colors are more the default colors normally used on the DS4. The previous ones were faint and not so noticeable. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/hid-sony.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
index 85d24be74db3..9863adf768ac 100644
--- a/drivers/hid/hid-sony.c
+++ b/drivers/hid/hid-sony.c
@@ -1628,10 +1628,10 @@ static void dualshock4_set_leds_from_id(struct sony_sc *sc)
1628{ 1628{
1629 /* The first 4 color/index entries match what the PS4 assigns */ 1629 /* The first 4 color/index entries match what the PS4 assigns */
1630 static const u8 color_code[7][3] = { 1630 static const u8 color_code[7][3] = {
1631 /* Blue */ { 0x00, 0x00, 0x01 }, 1631 /* Blue */ { 0x00, 0x00, 0x40 },
1632 /* Red */ { 0x01, 0x00, 0x00 }, 1632 /* Red */ { 0x40, 0x00, 0x00 },
1633 /* Green */ { 0x00, 0x01, 0x00 }, 1633 /* Green */ { 0x00, 0x40, 0x00 },
1634 /* Pink */ { 0x02, 0x00, 0x01 }, 1634 /* Pink */ { 0x20, 0x00, 0x20 },
1635 /* Orange */ { 0x02, 0x01, 0x00 }, 1635 /* Orange */ { 0x02, 0x01, 0x00 },
1636 /* Teal */ { 0x00, 0x01, 0x01 }, 1636 /* Teal */ { 0x00, 0x01, 0x01 },
1637 /* White */ { 0x01, 0x01, 0x01 } 1637 /* White */ { 0x01, 0x01, 0x01 }