Hashing function specified for Joystick::Button