GithubHelp home page GithubHelp logo

[Request PS4 support] Hi there, we are developing an indiegame on PS4 and I found this plugins can not run on PS4. about unityingamedebugconsole HOT 10 CLOSED

yasirkula avatar yasirkula commented on August 21, 2024
[Request PS4 support] Hi there, we are developing an indiegame on PS4 and I found this plugins can not run on PS4.

from unityingamedebugconsole.

Comments (10)

yasirkula avatar yasirkula commented on August 21, 2024

You can set debug console's Toggle Key to the desired joystick button, so toggling the debug console shouldn't be an issue. But I can't talk about scrolling the logs because I haven't used a joystick with a Scroll View. How would you expect the debug console to behave on a PS4? What would be the ideal way to show/hide it, scroll it or expand a log?

from unityingamedebugconsole.

wavebbs avatar wavebbs commented on August 21, 2024

Thank you for fast reply. The physical keyboard/Mouse are also well support on all the console platfom like PS4,PS5,Xbox. You could connect a keyboard/Mouse to PS4 thru USB.
So it will be worked as well as PC platform, if you could compile an PS4 lib.

Thank you again for your support! If you want me to do anything to help this just let me know.

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on August 21, 2024

In that case, which parts of the debug console are currently not responsive while using a USB keyboard/mouse?

from unityingamedebugconsole.

wavebbs avatar wavebbs commented on August 21, 2024

Hi, I test on PS4 platfrom, I found I can not use mouse, but keyboard is full support.
Could you just add some shortcut key for enter command and change the label?
I think it will works prefect if I have this shortcut key.
Thank you!

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on August 21, 2024

Inside DebugLogManager.cs, usages of autoFocusOnCommandInputField variable are wrapped inside #if UNITY_EDITOR || UNITY_STANDALONE and #endif conditions: here and here. If you delete those conditions, command input field will automatically be focused once you open the console via its shortcut key (Toggle Key).

from unityingamedebugconsole.

wavebbs avatar wavebbs commented on August 21, 2024

It isn't easy as I think, I could input the command now, but I can not excute it.
When I press 'Enter' it will open PS4 screen keyboard, When I press 'Enter' again the screen keyboard close but the command don't excute.

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on August 21, 2024

You can change this key to a key you want which will send the command when entered:

else if( addedChar == '\n' ) // Command is submitted

from unityingamedebugconsole.

wavebbs avatar wavebbs commented on August 21, 2024

Thank you so much!
It works after I change "\n" to "/".
But I still cannot scroll log, does it has a shortcut key?

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on August 21, 2024

There isn't a shortcut. You can add the following code to DebugLogManager.LateUpdate to create your own shortcut:

if( isLogWindowVisible )
	logItemsContainer.anchoredPosition += new Vector2( 0f, Input.GetAxis( "Some Axis" ) * 15f * Time.deltaTime );

from unityingamedebugconsole.

yasirkula avatar yasirkula commented on August 21, 2024

Feel free to reopen the Issue.

from unityingamedebugconsole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.