Repository navigation
Releases
heka v0.2.0
Full Changelog: v0.1.3...v0.2.0
heka v0.1.3
Your Controller can now drive the PC: bind buttons to keys and clicks, use a stick, the touchpad or the gyro as a mouse, and add toggle, turbo or macros. This release also adds a light theme.
Everything new is off until you turn it on, so updating changes nothing you can feel.
New
Keyboard and mouse (#37, #62)
- A Binding can hold a key or key combination, hold one of the five mouse buttons, or turn the wheel one step. That input then no longer reaches the Virtual Controller.
- Bind a key by pressing it. Names follow your keyboard layout, and heka sends scan codes, which games understand.
- Everything held is released when the Controller disconnects, when its Profile or a Binding changes, on Stop and on quit.
Sticks as mouse and keys (#38, #63)
- Each stick can move the mouse, scroll, or press WASD, the arrows or four keys of your choice. Diagonals press two keys.
- Mouse and scroll have their own speed, dead zone and curve, and move the same over USB and Bluetooth.
- A stick used this way rests centred on the Virtual Controller.
Touchpad as mouse (#39, #63)
- One finger moves the pointer, with adjustable sensitivity and vertical inversion. Two fingers scroll.
- Tap to left click (on to begin with) and two-finger right click (off).
- The touchpad click keeps its Binding, so binding it to Mouse left lets you drag.
Gyro as mouse or right stick (#40, #63)
- Aim by turning the Controller: always, while a button is held, or toggled by it.
- Sensitivity and inversion for each axis, a dead zone, and yaw or roll for horizontal movement.
- As a right stick, it adds to the stick you push.
- If the pointer creeps while the Controller rests, Measure the gyro's drift. heka remembers it for that Controller.
Toggle, turbo and macros (#41, #63)
- A bound button, key, mouse button or wheel step can Hold, Toggle, or Turbo at 2 to 30 presses a second.
- A macro is up to 32 steps that press, release or wait, edited by hand. It runs once per press or while held.
Light theme
- App settings has a new Theme switch: Dark (the default) or Light, based on Min Light. It applies at once and does not follow the Windows colour mode.
Known limits
- Windows ignores heka's keys and clicks in a program run as administrator, unless heka runs as administrator too. A key held while such a program comes to the front can stay down: press it once.
- Anti-cheat software may ignore keys and mouse input sent by another program, or treat them as cheating. Check a game's rules first.
- Holding a bound key types one character: there is no key repeat.
- Combinations Windows acts on itself, such as Alt+Tab or Windows+D, cannot be captured.
- Letting a button go stops its macro, also one that runs once per press, so keep holding until a longer macro ends.
- Macros cannot be recorded.
- DualShock 4 support is still experimental, and nothing for it or for the DualSense Edge has been tried on that hardware.
- Game rules for programs run as administrator have not been confirmed on hardware.
heka.exeis not code signed, so Windows SmartScreen may warn the first time.
Updating
Quit heka and replace its files with those in heka-v0.1.3-windows-x64.zip. Your settings and Profiles are kept. If you go back to 0.1.2, it ignores the new Profile and app settings and drops them the next time it saves.
All commits since v0.1.2
- da6b126 feat: bind buttons to keyboard keys and mouse buttons
- bd0dbd6 feat: use a stick as mouse, scroll wheel or keys
- e4a0ff1 feat: move the mouse with the touchpad
- 9cb1aed feat: aim with the gyro as mouse or right stick
- b79795a feat: toggle, turbo and macros for Bindings
- 9b52068 fix(app): fit new Profile pages and cancel stale key capture
- b8447f9 feat(app): add Min Light theme with a switch in settings
- 2870ecc chore: release 0.1.3
Full Changelog: v0.1.2...v0.1.3
heka v0.1.2
Profiles arrive: remap buttons, tune sticks and triggers, switch Profile by game or from the Controller. This release also adds an app settings screen, turning off Bluetooth Controllers, a log, an About view and notice of new releases.
New
Profiles (#61)
- Make a Profile and choose it for each Controller. The choice is remembered, and changes apply to a running Bridge at once.
- The Default Profile changes nothing and cannot be edited, so heka behaves as before until you choose another.
- A Profile may set its own Output Type (Xbox or PS4).
- Rename, duplicate, delete (with a confirmation), export and import Profiles. DS4Windows profiles cannot be imported.
- Profiles are JSON files in
%APPDATA%\heka\profiles. A broken file does not stop heka.
Button remapping (#31)
- Buttons, d-pad directions, L2, R2, mute, the touchpad click (whole, or left and right halves) and the DualSense Edge's Fn and back buttons can drive another button, a d-pad direction, a trigger pressed fully, or nothing.
- The live drawing shows what the Virtual Controller receives.
Stick and trigger tuning (#33, #34)
- Sticks: radial dead zone, anti-dead zone, max zone, sensitivity, output curve, inverted axes and swapped sticks. Tuned sticks keep 16-bit precision with Xbox output.
- Triggers: dead zone, max zone, output curve, hair trigger, and the point at which a trigger bound to a button counts as pressed.
- A live readout shows your input beside the tuned one, with the Controller's reports per second.
Profiles by game (#35)
- A game rule gives a program a Profile, applied to every Controller while that program is in front. Pick a running program or a file.
- Leaving the program restores each Controller's own Profile. A rule that sets an Output Type lasts until its program exits or another rule applies, so a running game keeps its Virtual Controller when you switch away.
- The window says which Profile applies and why.
Controller shortcuts (#36)
Off until you turn them on in app settings, where you can change the buttons.
| Action | Default |
|---|---|
| Next Profile | PS + R1 |
| Previous Profile | PS + L1 |
| Turn off (Bluetooth) | PS + Options, held for two seconds |
The other button does not reach the game, but PS still does. A switch of Profile is announced in heka's window.
App settings (#24)
- A new screen, opened by the gear in the status bar, Ctrl+, or the tray menu.
- Start with Windows, start in the tray, what closing the window does (keep running or quit), and a button for the settings folder.
- The window reopens at the size and place you left it.
Power and rumble
- Turn off a Controller on Bluetooth with a button (#26). One that is also on USB carries on over USB.
- Turn off when idle, per Controller: 5, 10, 15 or 30 minutes with no button, stick, trigger or touch. Off by default.
- Test the large and small motors at the chosen strength, and swap motors (#28).
Log, About and updates
- heka writes a log to
%LOCALAPPDATA%\heka, keeping the previous run too, and shows it in the window with Copy log and Open log folder. Crashes are logged. The log stays on your PC (#60). heka.exehas an icon and version information, and an About view shows the version, licenses and repository (#60).- heka tells you about a new release (#29). It asks GitHub at start and once a day, retries hourly after a failure, and downloads nothing. Turn it off in app settings.
DualSense Edge (#30)
- The two Fn and two back buttons are read, shown on the live drawing and available to Profiles.
Fixed
- Typing a hex colour in the light bar picker now sends it to the Controller only once it is a complete, valid colour (#50).
Under the hood
heka-corereturns typed errors and leaves the wording to the app.- Tests check DualSense reports captured from a real Controller (#57).
- The touchpad size, the time used to quit and the segmented switch's height are no longer duplicated or hard-coded.
- The README now covers Profiles, game rules and Controller shortcuts.
Known limits
- DualShock 4 support is still experimental, and nothing for it or for the DualSense Edge has been tried on that hardware.
- Game rules for programs run as administrator have not been confirmed on hardware.
heka.exeis not code signed, so Windows SmartScreen may warn the first time.
Updating
Quit heka and replace its files with those in heka-v0.1.2-windows-x64.zip. Your settings are kept. Going back to 0.1.1 keeps the Profile files, but 0.1.1 drops the newer settings the next time it saves.
All commits since v0.1.1
- fe5a5b0 refactor(core): return typed errors
- 946a2a7 feat(log): write a log file and log panics
- 3e3e85a feat(ui): add a log view to the status bar
- 16e026e feat(app): add icon and version info
- 7b9342e feat(ui): add an About view
- add7db8 feat(ui): add an app settings screen
- 9db8224 feat(rumble): add motor test and swap
- 594dad9 feat(power): turn off Bluetooth Controllers
- e657033 feat(updates): announce new releases
- 1134b6a feat(updates): retry failed release checks hourly
- 7c53f56 fix(ui): shrink the About heading
- 10c37d8 docs: add the approved v2 mockup
- 9601004 refactor(core): pass the time to quit
- 6b1614f refactor: share the touchpad size from core
- 51760de refactor(ui): derive the segment height
- 099aaca fix(ui): parse the typed hex colour
- 32887d1 test: record DualSense inputs one by one
- 81e6328 test: assert against captured DualSense reports
- c472009 feat(edge): read Fn and back buttons
- da6890a feat(core): add Profile and Mapper
- 6b2d0ed feat(core): store Profiles and remember each Controller's choice
- 3205fe6 feat(core): let a running Bridge follow its Controller's Profile
- 8c20650 feat(app): read, save and choose Profiles from the app
- 7d3d503 feat(app): choose a Profile and edit its Bindings in the window
- e160d78 feat(core): duplicate, rename, import and export Profiles
- 358a185 feat(app): duplicate, rename, delete, import and export Profiles
- ed2730a feat(app): manage Profiles from the Profile page
- f3fef57 feat(core): tune each stick of a Profile
- b17a127 feat: show a Controller's own state, report rate and stick changes
- 662f327 feat(app): tune sticks from the Profile page
- 2b1b524 feat(core): tune each trigger of a Profile
- e44ab4d feat(app): tune triggers from the Profile page
- 7f4294c feat(core): pick a Profile by the program in the foreground
- 2785e2c feat(app): watch the program in front and keep game rules
- a901ddf feat(app): show and edit game rules in the window
- 7549cf5 feat(core): shortcuts from the Controller to switch Profile and turn off
- 7a529c2 feat(app): name the Profile a shortcut chose and change shortcuts
- 0a668c8 feat(app): choose the controller shortcuts in app settings
- 0485f76 fix(app): bundle the icons the Profile screens use
- fb14ed8 docs: describe Profiles, game rules and shortcuts
- 77eac13 chore: release 0.1.2
Full Changelog: v0.1.1...v0.1.2
heka v0.1.1
What's Changed
- Add a Rainbow light bar choice, which goes round all the colours every 6 seconds, in a33aee1
- Delete every code comment and ban new ones by @kouzoukian in #58
- Fix the 11 open bugs by @kouzoukian in #59
Full Changelog: v0.1.0...v0.1.1
heka v0.1.0
What's Changed
- heka v1: Bridge PlayStation Controllers to Xbox or PS4 Virtual Controllers by @kouzoukian in #44
New Contributors
- @kouzoukian made their first contribution in #44
Full Changelog: https://github.com/kouzoukian/heka/commits/v0.1.0