Skip to content

Releases: luttje/Key2Joy

⌨ Command-line interface & more

04 Mar 10:19
fe638f3
Compare
Choose a tag to compare

This version introduces a new way to interact with Key2Joy using the command-line. Thanks for the idea @Renato-Rodrigues (#28)!

New features

  • Running Key2Joy.Cmd.exe enable in a command-prompt will:
    • Start Key2Joy if it's not already running. (Note: you need to have started Key2Joy.exe at least once already)
    • Enable the last used profile
    • Use --profile default-profile to specify which profile file to enable (you don't have to include the .k2j.json extension)
  • Running Key2Joy.Cmd.exe disable will disable the active profile
  • You can now bind to X Mouse Buttons: XButton1 and XButton2 (also known as Mouse Button 4 and 5) - Thanks @syctis #32

Changes

  • Mapping presets are now called profiles (those names were used interchangeably).
  • Profiles are now stored in the Documents/Key2Joy/Profiles folder. The old folder (Documents/Key2Joy/Presets) will be renamed automatically.

Bugs

  • Fixed missing app icon #31
  • Fixed timeouts and intervals running after disabling mappings

Full Changelog: 0.5.3...0.6.0

Getting started

  1. Extract all files from the accompanying zip (Key2Joy-0.6.0.zip) to a single location on your computer.
  2. Start Key2Joy.exe

📖 Learn how to use Key2Joy in the README

(alpha) ⌨ Command-line interface

29 Dec 21:29
Compare
Choose a tag to compare
Pre-release

❗ This is a pre-release that I haven't tested very well (PR #29). Please let me know if I broke something. ❗

This version introduces a new way to interact with Key2Joy using the command-line. Thanks for the idea @Renato-Rodrigues (#28)!

New features

  • Running Key2Joy.Cmd.exe enable in a command-prompt will:
    • Start Key2Joy if it's not already running. (Note: you need to have started Key2Joy.Gui.exe at least once already)
    • Enable the last used profile
    • Use --profile default-profile to specify which profile file to enable (you don't have to include the .k2j.json extension)
  • Running Key2Joy.Cmd.exe disable will disable the active profile

Changes

  • Key2Joy.exe has been renamed to Key2Joy.Gui.exe
  • Mapping presets are now called profiles (those names were used interchangeably).
  • Profiles are now stored in the Documents/Key2Joy/Profiles folder. The old folder (Documents/Key2Joy/Presets) will be renamed automatically.

Full Changelog: 0.5.3...0.6.0-alpha1

Installation:

  1. Extract all files from the accompanying zip (Key2Joy-0.6.0-alpha1.zip) to a single location on your computer.
  2. Double-click the Key2Joy.Gui.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating
  5. Optionally run Key2Joy.Cmd.exe enable or Key2Joy.Cmd.exe disable to control the app without the GUI.

(In the default profile there is a mapping that lets you stops simulating with the Escape-key. Don't forget to include such a mapping for your custom profiles.)

📸 Screen capture through scripting + bugfix

10 Sep 11:29
Compare
Choose a tag to compare

Full Changelog: 0.5.2...0.5.3

Installation:

  1. Copy all files in the accompanying zip (Key2Joy-0.5.3.zip) to a location on your computer.
  2. Double-click the Key2Joy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating

(By default there is a mapping that lets you stops simulating with the key Escape)

🤖 New script features + bugfixes

25 Aug 20:41
Compare
Choose a tag to compare
  • New Features:
  • Bugfixes:
    • Fixed keyboard events constantly firing when keys were held (#23)
    • Improved sorting: press and release for each buttons are now grouped
    • Fixed multiple actions in sequence not saving correctly (#26)
    • The combined trigger works better now without timeout (#25)

Full Changelog: 0.5.1...0.5.2

Installation:

  1. Copy all files in the accompanying zip (Key2Joy-0.5.2.zip) to a location on your computer.
  2. Double-click the Key2Joy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating

(By default there is a mapping that lets you stops simulating with the key Escape)

UI to setup multiple triggers for an action

24 Aug 11:41
Compare
Choose a tag to compare
  • New Feature: UI to configure multiple triggers (e.g: Shift + A) for a single action:
    image

Full Changelog: 0.5.0...0.5.1

Installation:

  1. Copy all files in the accompanying zip (Key2Joy-0.5.1.zip) to a location on your computer.
  2. Double-click the Key2Joy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating

(By default there is a mapping that lets you stops simulating with the key Escape)

🐛 More stable scripts + a bunch of bug fixes

23 Aug 11:58
Compare
Choose a tag to compare
  • Features
    • Scripts loaded from files now cache for the duration of the session
    • Actions now share the same scripting environment (#19). This means you can share Lua variables between all Lua scripts, or JS variables between all JS scripts.
  • Bugfixes
    • Fix hang with JS scripts
    • Fixed the mapping list not updating nicely (#11)
    • The mapping list now sorts properly (#12)
    • Fixed bug with mapping duplicating (#20)
    • Fixed some functions not binding in JS (#21)

Full Changelog: 0.4.3...0.5.0

Installation:

  1. Copy all files in the accompanying zip (Key2Joy-0.5.0.zip) to a location on your computer.
  2. Double-click the Key2Joy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating

(By default there is a mapping that lets you stops simulating with the key Escape)

0.4.3

22 Aug 20:34
Compare
Choose a tag to compare
  • Fixed a System.AccessViolationException that occurred when running a Lua script containing a SetTimeout or SetInterval rapidly (e.g: holding the trigger)
  • New script functions

Full Changelog: 0.4.2...0.4.3

Installation:

  1. Copy all files in the accompanying zip (Key2Joy-0.4.3.zip) to a location on your computer.
  2. Double-click the Key2Joy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating

(By default there is a mapping that lets you stops simulating with the key Escape)

0.4.2

21 Aug 11:21
Compare
Choose a tag to compare
  • Added Keyboard.GetKeyDown that helps you check if more than one key are down using Lua/Javascript Scripting.
  • Several bug fixes:
    • Fixed Direct input setting resetting for scripts on restart
    • You can now bind multiple actions to the same trigger
  • Removed the slow script output viewer, in favor of directing users to the log file or event viewer
    • Script prints and logs are now also written to the Windows Event Viewer
  • Removed PressState.PressAndRelease since it caused too much headache for me. Instead you should manually press and release using SetTimeout. (View example in GamePad.Simulate docs.)

Full Changelog: 0.4.1...0.4.2

Installation:

  1. Copy all files in the accompanying zip (Key2Joy-0.4.2.zip) to a location on your computer.
  2. Double-click the Key2Joy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating

(By default there is a mapping that lets you stops simulating with the key Escape)

Bugfixes, especially for Javascript

03 Jul 07:27
Compare
Choose a tag to compare
  • Updated Jint, which fixes SetDelayedFunctions for Javascript.
    More modern Javascript support is now available ECMAScript 2015 through ECMAScript 2022
  • Updated documentation to contain enumerations
  • Renamed KeyToJoy to Key2Joy everywhere.
    I'm considering changing the name to something entirely different, since the app can do a lot more now. Suggestions are welcome!

Full Changelog: 0.4.0...0.4.1

Installation:

  1. Copy all files in the accompanying zip (Key2Joy-0.4.1.zip) to a location on your computer.
  2. Double-click the Key2Joy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the Enable-checkbox to start simulating

(By default there is a mapping that lets you stops simulating with the key Escape)

Many new features, like scripting (Lua & JS) 📃

02 Jul 12:34
Compare
Choose a tag to compare

Most functions appear to work. Nevertheless there are some bugs that I will try to work out in the coming months. Feel free to create new issues for any bugs you find.

New features:

Installation:

  1. Copy all files in the accompanying zip (KeyToJoy-v0.4.0.zip) to a location on your computer.
  2. Double-click the KeyToJoy.exe to start the app
  3. Configure mappings: set a trigger to start an action.
  4. Tick the checkbox to start simulating (by default there is a mapping that lets you stops simulating with the key Escape)