Re: [PATCH] HID: hid-sony: Brighter RGB values for Orange/Teal/White.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Jun 11, 2018, at 09:03, Jiri Kosina <jikos@xxxxxxxxxx> wrote:
> 
> On Mon, 4 Jun 2018, Hanno Zulla wrote:
> 
>> While blue/red/green/pink are bright, the RGB values for orange/teal/white
>> were rather dark in comparison. This increases the RGB brightness for
>> color values 4-6.
>> 
>> Signed-off-by: Hanno Zulla <kontakt@xxxxxxxx>
>> ---
>> drivers/hid/hid-sony.c | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>> 
>> diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
>> index e475c5073c99..65af382f7394 100644
>> --- a/drivers/hid/hid-sony.c
>> +++ b/drivers/hid/hid-sony.c
>> @@ -1830,9 +1830,9 @@ static void dualshock4_set_leds_from_id(struct sony_sc *sc)
>> 			/* Red	  */	{ 0x40, 0x00, 0x00 },
>> 			/* Green  */	{ 0x00, 0x40, 0x00 },
>> 			/* Pink   */	{ 0x20, 0x00, 0x20 },
>> -			/* Orange */	{ 0x02, 0x01, 0x00 },
>> -			/* Teal   */	{ 0x00, 0x01, 0x01 },
>> -			/* White  */	{ 0x01, 0x01, 0x01 }
>> +			/* Orange */	{ 0x40, 0x20, 0x00 },
>> +			/* Teal   */	{ 0x00, 0x20, 0x20 },
>> +			/* White  */	{ 0x20, 0x20, 0x20 }
> 
> Let's add Frank to CC (who came up with the original values). Frank, any 
> word to this?
> 
> Thanks,
> 
> -- 
> Jiri Kosina
> SUSE Labs
> 

They were all darker at the beginning.  When Roderick Colenbrander at Sony was working on the driver he changed the first four values to be brighter, probably to match the values used on the Playstation 4.--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux