Repository navigation
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