Hi,
The proper solution is to install a custom firmware with full support for the Bluetooth HID profile. Linux already has the drivers but they are not enabled in the stock EV3 firmware, presumably to save space.
But here is a quick-and-dirty solution which proves that it is possible, even with the stock firmware:
http://www.pabr.org/bricks/brickhid/brickhid.en.html