Post: [C#]Keyboard is runing
06-25-2014, 12:34 PM #1
Mango_Knife
In my man cave
(adsbygoogle = window.adsbygoogle || []).push({}); Well, i didnt saw it released and its very helpfull method
Baisicly, it can detect when the keyboard is open or close

So if you coding a mod menu you could do like If keyboard is open, then stop the timer, then when u using dpad or buttons on the keyboard, it will not scroll trough the options on the mod menu

So here it is (Add it into a timer):
C#:
                public static Boolean KeyBoardisOpen()
{
if (PS3.Extension.ReadByte(0x73145F) == 0x1)
{
return true;
}
else
{
return false;
}
}


VB.NET:
        Public Shared Function KeyBoardisOpen() As Boolean
If (PS3.Extension.ReadByte(&H73145F) = &H1) Then
Return True
Else
Return False
End If
End Function


Then add this to a timer/thread or whatever:
                    if (KeyBoardisOpen() == true)
{
Timer1.Stop()
}
else
{
Timer1.Start()
}



Hope it helped Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Mango_Knife for this useful post:

En3RGyMoDz, FusionIsDaName, WeJailbreakYou

The following 2 users groaned at Mango_Knife for this awful post:

Sticky, VezahMoDz
06-25-2014, 03:03 PM #2
Hash847
Purple God
vb =Z

The following 2 users say thank you to Hash847 for this useful post:

iNDMx, Jannik007
06-25-2014, 03:09 PM #3
seb5594
Proud Former Admin
Originally posted by Knife View Post
Well, i didnt saw it released and its very helpfull method
Baisicly, it can detect when the keyboard is open or close

So if you coding a mod menu you could do like If keyboard is open, then stop the timer, then when u using dpad or buttons on the keyboard, it will not scroll trough the options on the mod menu

So here it is (Add it into a timer):
C#:
                public static Boolean KeyBoardisOpen()
{
if (PS3.Extension.ReadByte(0x73145F) == 0x1)
{
return true;
}
else
{
return false;
}
}


VB.NET:
        Public Shared Function KeyBoardisOpen() As Boolean
If (PS3.Extension.ReadByte(&H73145F) = &H1) Then
Return True
Else
Return False
End If
End Function


Then add this to a timer/thread or whatever:
                    if (KeyBoardisOpen() == true)
{
Timer1.Stop()
}
else
{
Timer1.Start()
}



Hope it helped Smile

What do you think why the default Keyboard Func i released contains a check for if open? It does return the Result String after you closed it lol. How would this even help?
06-25-2014, 04:03 PM #4
Mango_Knife
In my man cave
Originally posted by seb5594 View Post
What do you think why the default Keyboard Func i released contains a check for if open? It does return the Result String after you closed it lol. How would this even help?


It closed to me.
lol?
06-25-2014, 08:40 PM #5
xPAQz
Bounty hunter
hm okö
07-08-2014, 09:46 AM #6
VezahMoDz
Do a barrel roll!
Originally posted by Knife View Post
Well, i didnt saw it released and its very helpfull method
Baisicly, it can detect when the keyboard is open or close

So if you coding a mod menu you could do like If keyboard is open, then stop the timer, then when u using dpad or buttons on the keyboard, it will not scroll trough the options on the mod menu

So here it is (Add it into a timer):
C#:
                public static Boolean KeyBoardisOpen()
{
if (PS3.Extension.ReadByte(0x73145F) == 0x1)
{
return true;
}
else
{
return false;
}
}


VB.NET:
        Public Shared Function KeyBoardisOpen() As Boolean
If (PS3.Extension.ReadByte(&H73145F) = &H1) Then
Return True
Else
Return False
End If
End Function


Then add this to a timer/thread or whatever:
                    if (KeyBoardisOpen() == true)
{
Timer1.Stop()
}
else
{
Timer1.Start()
}



Hope it helped Smile


This is like the most useless thing in this section, the keyboard i released already has this check, if closed it will return a string.. stare

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo