# HG changeset patch # User Jacob Alexander # Date 1443763716 25200 # Node ID ac26fc84149c874c9d26f742dae2638b5f67958a # Parent 4a11bc59c013f96cbe0860c351b6c7025bdcbab1 Fixing AL and AC namespaced Consumer control media keys diff -r 4a11bc59c013 -r ac26fc84149c backends/kiibohd.py --- a/backends/kiibohd.py Wed Sep 30 00:04:30 2015 -0700 +++ b/backends/kiibohd.py Thu Oct 01 22:28:36 2015 -0700 @@ -176,7 +176,8 @@ # Special cases if isinstance( resultItem[1][ arg ], str ): # If this is a CONSUMER_ element, needs to be split into 2 elements - if re.match( '^CONSUMER_', resultItem[1][ arg ] ): + # AC_ and AL_ are other sections of consumer control + if re.match( '^(CONSUMER|AC|AL)_', resultItem[1][ arg ] ): tag = resultItem[1][ arg ].split( '_', 1 )[1] if '_' in tag: tag = tag.replace( '_', '' )