xbmc/xbmc — pull request #3640 by wsnipex (2013-11-13 10:02:10+00:00)
Title: Input: fix Accelerometer being detected as joystick

This fixes an accelerometer in my notebook being detected as joystick:
NOTICE: Enabled Joystick: ST LIS3LV02DL Accelerometer
NOTICE: Details: Total Axis: 3 Total Hats: 0 Total Buttons: 0

I'm assuming here that a real joystick always has at least 1 button