Using actionKeys proves that the buttons on my joystick and throttle have DIK-codes, but the event handler keysDown only handles keyboard buttons. If you look at this post I made on Armaholic it should hopefully explain better what I intend to achieve (http://www.armaholic.com/forums.php?m=posts&id=171357). I realize there is probably a code-change needed for TFAR to make it all work (not your table), but at least if I can do the grunt-work then it's easier for the author to fix.
I've found a reference to the event handler onJoystickButton that is available in VBS2 (https://resources.bisimulations.com/w/index.php?title=VBS2:_User_Interface_Event_Handlers) but despite a lot of searching I can't find an equivalent in Arma 3.