Forum

Virtual keyboard setup

Hi
i am trying to setup an XP machine with a touch screen, with the HTML Texture node so that I can add a little form and send text to a mysql database.
I could just dock the Windows virtual keyboard somewhere and let it be there all the time but a pop up keyboard would be better.
I ve found this one
http://www.comfort-software.com/on-screen-keyboard.html
which is pretty nice and pops up when a text form is chosen, but the HTML Texture does not send the proper call to the OS so the keyboard does not appear.
I can add a shortcut to pop up the keyboard when needed but I don t seem to be able to find how to link a “click on a text form” event on HTML Texture to a Keyboard (System Global) trigger.
Any idea?
S.

Yo!
I did a small hack some time ago for this, a JS injection… nasty… dangerouzzz :>

P.S. Also you can add the keyboard by @misak )) from [((contribution:display-keyboard](https://vvvv.org/documentation/((contribution:display-keyboard).

HTMLTexture - JS Hook for input field focus (8.2 kB)

Wow awesome, do you have any idea why using a local html file I don t see the “Type” of the triggered field? And instead of the “Fieldname” as string I get a number?

@io: Well, there is a small vvvvveb server running at the backdoor to receive the events posted by vvvv-hook.js, which is injected in the HTMLTexture when a URL needs to be loaded… the thing is is that in my case, it is showing the type and the name of the html field, as well as its position and dimensions scaled for v4. I have no idea why you receive numbers. May be the input field is an array, hehe. Like:

input type=text name=myfield[]()

Can you attach the file/URL that you are loading, so I take a look

cheers

Smething as simple as

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
<title>Form Input Data</title>
</head>

<style>
body {
    background: #fff;
    color: #000;
}
- bla {
    color: red;
}
</style>

<body>
<div id="bla">
    blalbla
</div>

<form method="post" action="input.php">

<input type="text" name="name" size="20">


<input type="text" name="address" size="40">


<input type="submit" name="submit" value="Sent">


</form>

</body>
</html>

No changes, if that helps something I can see different form an online page is the OptsValue keepalive, and Opts as localhost:8080

Yes, it gives me also numbers, I take a look now…

One more thing, although it trigger the OnData event, it does not get its position

how about this one, it works for me ;>

HTMLTexture-DetectInput2.zip (9.6 kB)

No it doesn t here… same behaviour as before

one more time, it is the same patch…

P.S. Did you allow vvvv in the windows/other firewall?

HTMLTexture_detectFocusedElement3.zip (27.0 kB)

thumbs up!