Merge pull request #13 from Razielwar/razielwar/button32

manage button 32
This commit is contained in:
Endolf 2017-06-06 18:34:00 +01:00 committed by GitHub
commit e730077f78

View file

@ -25,7 +25,7 @@
* ANY IMPLIED WARRANT OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
* NON-INFRINGEMEN, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND
* ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS
* A RESULT OF USING, MODIFYING OR DESTRIBUTING THIS SOFTWARE OR ITS
* A RESULT OF USING, MODIFYING OR DESTRIBUTING THIS SOFTWARE OR ITS
* DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST
* REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL,
* INCIDENTAL OR PUNITIVE DAMAGES. HOWEVER CAUSED AND REGARDLESS OF THE THEORY
@ -509,22 +509,24 @@ final class DIIdentifierMap {
case 21:
return Component.Identifier.Button._21;
case 22:
return Component.Identifier.Button._23;
return Component.Identifier.Button._22;
case 23:
return Component.Identifier.Button._24;
return Component.Identifier.Button._23;
case 24:
return Component.Identifier.Button._25;
return Component.Identifier.Button._24;
case 25:
return Component.Identifier.Button._26;
return Component.Identifier.Button._25;
case 26:
return Component.Identifier.Button._27;
return Component.Identifier.Button._26;
case 27:
return Component.Identifier.Button._28;
return Component.Identifier.Button._27;
case 28:
return Component.Identifier.Button._29;
return Component.Identifier.Button._28;
case 29:
return Component.Identifier.Button._30;
return Component.Identifier.Button._29;
case 30:
return Component.Identifier.Button._30;
case 31:
return Component.Identifier.Button._31;
default:
return null;