Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

VolLightbarCtrlWithDS4 Vita

From GameBrew
Revision as of 08:35, 11 Ocak 2023 by HydeWing (talk | contribs) (→‎User guide)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
VolLightbarCtrlWithDS4
Vollightbarctrlwithds4vita2.png
General
AuthorCallmeBK
TypePlugins
Version1.3
LicenseMIT License
Last Updated2021/05/28
Links
Download
Website
Source

Kernel plugin for PS Vita and PS TV that will make connected DS4 lightbar to change color based on controller battery level.

Requires MiniVitaTV plugin to work on a PS Vita. It also allows to manage console volume through buttons combination.

Features

  • Control volume using DS4 controller.
  • DS4 lightbar used as DS4 battery indicator.
  • Adjust DS4 lightbar brightness.
  • Supports up to 4 connected controllers.

Installation

Copy VolLightbarCtrlWithDS4.skprx to ur0:tai/ folder on PS Vita.

Enable it under KERNEL section in Config.txt file

*KERNEL
ur0:tai/VolLightbarCtrlWithDS4.skprx

Reboot Vita.

User guide

Lightbar battery indicator

  • Magenta lightbar means DS4 is charging.
  • Turquoise lightbar means DS4 is fully charged.
  • Green lightbar means DS4 is high charge.
  • Yellow lightbar means DS4 is medium charge.
  • Red lightbar means DS4 is low charge.
  • Red pulsing lightbar means DS4 will run out of charge soon.

Lightbar brightness toggle

You can toggle lightbar brightness back and forth between 5% and 100% by pressing L1, L2, R1, and R2 at the same time. Settings are saved for each controller in text files:

  • ux0:data/vollightbarctrlwds4/p1config.txt
  • ux0:data/vollightbarctrlwds4/p2config.txt
  • ux0:data/vollightbarctrlwds4/p3config.txt
  • ux0:data/vollightbarctrlwds4/p4config.txt

The number within each file indicates the brightness percentage that that controller's lightbar will have. The files will be created automatically after replacing v1.2 skprx with v1.3 skprx and then restarting the system.

You can also manually adjust the number in each text file if you want something other than 5% and 100% brightness, but changes will not take effect until you restart the system. If you do set your own value that is not 5% nor 100%, pressing L1, L2, R1, and R2 at the same time will not change the brightness anymore. That functionality will come back after manually changing the value back to either 5% or 100% in the text file and then restarting the system.

Controls

Select+L1 - Lower volume

Select+R1 - Raise volume

Select+L1+R1 - Mute volume

L1+L2+R1+R2 - Toggle DS4 lightbar brightness

Compatibility

Requires Vita Firmware 3.60, Henkaku Enso, and the MiniVitaTV plugin to work. Also supports PS TV.

Changelog

v1.3

  • You can now toggle lightbar brightness back and forth between 5% and 100% by pressing L1, L2, R1, and R2 at the same time. Settings are saved for each controller in text files:
    • ux0:data/vollightbarctrlwds4/p1config.txt
    • ux0:data/vollightbarctrlwds4/p2config.txt
    • ux0:data/vollightbarctrlwds4/p3config.txt
    • ux0:data/vollightbarctrlwds4/p4config.txt
  • The number within each file indicates the brightness percentage that that controller's lightbar will have. The files will be created automatically after replacing v1.2 skprx with v1.3 skprx and then restarting the system.
  • You can also manually adjust the number in each text file if you want something other than 5% and 100% brightness, but changes will not take effect until you restart the system. If you do set your own value that is not 5% nor 100%, pressing L1, L2, R1, and R2 at the same time will not change the brightness anymore. That functionality will come back after manually changing the value back to either 5% or 100% in the text file and then restarting the system.
  • Thank you aliihsanasl for this idea to allow for an extended ds4 batterly life.

v1.2

  • When using hotkeys Select + L1 or Select + R1 on PSTV, volume indicator would appear showing a volume level of zero and the volume would not change.
  • (PSTV Only) As of this release, the volume now changes with Select + L1/R1 hotkeys and I've drawn my own on-screen volume indicator to show the current volume level. Now this plugin is fully functional for both PS Vita and PSTV.

v1.1

  • Cleaned up code. Added for loop to cycle through controller ports and minimize if statements.

v1.0

  • Initial release. Supports 4 DS4 controllers.

Credits

xerpi, marburg, SKGleba, davee, Bythos, NOTxCorra, teakhanirons, Princess of Sleeping, Mer1e, Orangelampshade, Rinnegatamante, cuevavirus, aliihsanasl.

External links

Advertising: