Removed unused method from keyboard listeners.

The method 'getCallback' is no longer needed for listeners,
because the HashMap stores the callback name as a key.