If you want to save some of your time to create a virtual keyboard. You could take a look into https://git.enlightenment.org/libs/ekbd.git/. It's a library who provide a keyboard smart evas object. The keyboard layout is described by plain text .kbd and .tie files. An exemple of use is also provided. The theme is based on edge so easy to customize. The key pressed is just an evas event, if you are on X you could use the function provided by the library if not you could make your own.
Regards Le ven. 22 nov. 2019 09:54, Pablo Muñiz Gadea <[email protected]> a écrit : > Thank you so so much Hermet for the reply. > > ""e" is the first thing I tried. It does not work :( . I did what you > suggest. I only send this because I think its a big gotcha that in > edje text.text: > "\"" works but emit("key_pressed", "\""); doesn't. > > > > On Fri, Nov 22, 2019 at 1:49 AM Hermet Park <[email protected]> wrote: > > > Seems edje compiler doesn't care of slash + symbols moment, How about > > sending markup name instead? i.e ""e" > > Probably you can remap the signal source to actual key name in the code. > > > > On Thu, Nov 21, 2019 at 8:59 PM Pablo Muñiz Gadea <[email protected]> > > wrote: > > > > > Hi guys. > > > > > > I have 1 problem with EDJE and 2 weird things. I will link the videos > so > > > you can see what I mean. > > > > > > On EDJE, displaying quotations on a text with text.text: "\""; works > > fine. > > > But when I try to send the signal with > > > script{ > > > if(get_int(toggle_shift_state) == 0) { > > > emit("key_pressed", "2"); > > > } > > > else { > > > *emit("key_pressed", "\"");* > > > } > > > } > > > > > > I get the error: > > > > > > edje_cc: Error. Parse error keyboard.edc:7242. { marker does not have > > > matching } marker > > > edje_cc: Error. PARSE STACK: > > > collections.group.programs.program.script > > > edje_cc: Error. PARAMS: > > > > > > BTW its not a {} problem. > > > > > > How can I escape that key in that instance? > > > > > > Next 2 videos are not important for me but I think it might help you. > > > > > > https://youtu.be/Ci42xl16Fhw > > > https://youtu.be/vEc-Xwlk4zU > > > > > > _______________________________________________ > > > enlightenment-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > -- > > Regards, Hermet > > > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
