Author Topic: [EXE][CONTROLLER] Adding native "Joystick" support  (Read 3602 times)

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
[EXE][CONTROLLER] Adding native "Joystick" support
« on: October 16, 2017, 02:08:57 am »
Hi all,

I am currently attempting to add native controller support to OXC. Development is being done with an Xbox controller.

At the moment, the left joystick moves the cursor, the A button is mapped to "left mouse button", and the B button is mapped to "escape key". The D-pad will also move the cursor to the nearest button in the direction clicked. It's a little wonky as it only looks at the horizontal or vertical distance one at a time; as I am just getting started, I don't want to get bogged down with polish just yet.

The project is very much in its infancy; I have yet to reacquaint myself with git in order to share the code. I just wanted to share the progress I've made so far :)