View Single Post
Old 01-21-2013, 02:21 AM   #94
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Quote:
Originally Posted by PoP View Post
@dsmid nothing very important, but for your consideration: The .kbd entries can't have constructs of the form #xxx=#xxx, They are parsed but considered comments.

For example, in my physical keyboard I wanted to use the following to invert the Vol+ and Vol- buttons.
Code:
#61445=#v115
#61446=#v114
This should be possible, but I think your example causes an endless recursion:
Vol- -> Vol+ -> Vol- -> Vol+ -> ...

Quote:
Originally Posted by PoP View Post
And in my volume keyboard I wanted
to set volume to the minimum by coding
Code:
#61445#61445=#v114#v114#v114#v114#v114#v114#v114#v114#v114#v114
or alternately
mm=#v114#v114#v114#v114#v114#v114#v114#v114#v114#v114
There can be only one # expression (and nothing else) in the key or in the value. To remove this constraint, I would have to completely rewrite the hack as the event handling is not prepared for such definitions.
The same thing (setting volume level to certain value) can be achieved by using launchpad.
dsmid is offline   Reply With Quote