Conditionally converts literal to numerical input key names and vice versa. Essentially, performs cock.convertAxis if device was axis-like, otherwise returns unchanged input.
converted = cock.convertKey ( device, input, forceliteral )
number device
number input
boolean forceliteral
string converted
Function will make no change if it was supplied with literal input and forced to output literal value. Same for numerical values.