Skip to content

v1.1.0

Compare
Choose a tag to compare
@dkorpel dkorpel released this 01 Apr 18:45
· 18 commits to master since this release

Rumble support

Joystick rumble support has been added, based on glfw/glfw#1678.

int glfwSetJoystickRumble(int jid, float slowMotorIntensity, float fastMotorIntensity);

As of writing, the PR has not been merged, so the final API is not yet confirmed. To avoid breaking changes it is therefore only available using the version identifier GLFW_PREVIEW_JOYSTICK_RUMBLE. Once the function gets in GLFW 3.4, the preview flag will not be necessary anymore.

New examples

Instead of having a single example, there are now three:

  • glfw-d:empty-window: the old glfw-d:example which opens an empty window
  • glfw-d:triangle-gl: a simple 'hello world triangle' using OpenGL
  • glfw-d:triangle-vulkan: a Vulkan example

Vulkan fixes

The library no longer gives compile errors when compiling with version identifier VK_VERSION_1_0.
The vulkan example uses erupteD instead of glfw's Vulkan module, so the Vulkan functions remain untested though.