Thanks a lot pitchatan! Very interesting the idea of using cvars! Unfortunately it doesn't work for me!
I mean, did it work for you the example you posted? If you put that html file as a shader on a wall or paint it on screen via drawpic() in csqc, can you click on slider or get cvar value?
Because my problem is that click event is not passed from csqc to cef, so I can click as many times I want but nothing happens. So I change evento to 'onmouseover' on setsensitivity and hovering on slider makes appear the value of '15' for sensitivity but if I try to read sensitivity value, hovering on getsensitivity input box, it alerts "getcvar_sensitivity " without any value.
Get stats buttons on the bottom of the page, instead, they work
If, instead, I use console cef fte://data/index.html
, of course click event works, slider works, but getcvar_sensitivity alert value is always blank
Anyway you give me a great input with cvars: I'll make some test and I'll post them here