New enigma2 VirtualKeyBoard
#1
Posted 19 September 2019 - 12:26
New approach for virtual keyboard for enigma2
-windows keyboard layout
-adding any language without editing the code.
-built in search history and google suggestion as option
-easy flexibilty and moving between keys
-shortcuts available for easy typing.
The new vertual keyboard designed to be used by developers and can be imported similar to system virtualkeyboard
from NewVirtualKeyBoard import VirtualKeyBoard
But also can be used as a replacement for the system virtualkeyboard
Setup:
From telnet --== LINK REMOVED DUE TO LICENCE LIMITATIONS FROM SAMSAMSAM ==--
restart enigma2
The New virtual keyboard setup found under main menu-system
select the new virtual keyboard and after saving the new keyboard will be available everywhere in the image
Warning:
Playing with system files may disturb the image,although i made a lot of precautions to prevent this, better to take backup of image screens/VirtualKeyBoard.py,although the setup already take backup for this file in same screens directory as VirtualKeyBoard_backup.py
Re: New enigma2 VirtualKeyBoard #2
Posted 20 September 2019 - 12:21
Error starting search in plugin-enigma2-plugin-extensions-youtube.
REMOVE Peer et1x000 REMOVE Peer et1x000 Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action File "/usr/lib/enigma2/python/Plugins/Extensions/YouTube/YouTubeSearch.py", line 255, in openKeyboard File "/usr/lib/enigma2/python/mytest.py", line 289, in openWithCallback dlg = self.open(screen, *arguments, **kwargs) File "/usr/lib/enigma2/python/mytest.py", line 302, in open self.execBegin() File "/usr/lib/enigma2/python/mytest.py", line 223, in execBegin c.execBegin() File "/usr/lib/enigma2/python/Screens/Screen.py", line 93, in execBegin File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 912, in onWindowShow self.setText(self.startText) File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 954, in setText self['text'].right() File "/usr/lib/enigma2/python/Components/Input.py", line 100, in right File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 531, in timeout self.nvkTimeoutCallback() File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 1593, in input_updated self.updateSuggestions() TypeError: updateSuggestions() takes exactly 2 arguments (1 given)
Re: New enigma2 VirtualKeyBoard #3
Posted 20 September 2019 - 13:32
Yes. youtube Tappat use virtualkeyboard.py in different way .
the attached simple edit for YouTubeSearch.py
def openKeyboard(self): self['config'].getCurrent()[1].help_window.instance.hide() from Screens.VirtualKeyBoard import VirtualKeyBoard self.session.openWithCallback(self.keyBoardCallback, VirtualKeyBoard, '')
attached YouTubeSearch.py tp solve th error
Re: New enigma2 VirtualKeyBoard #4
Posted 20 September 2019 - 13:35
the attached simple edit for YouTubeSearch.py
def openKeyboard(self): self['config'].getCurrent()[1].help_window.instance.hide() from Screens.VirtualKeyBoard import VirtualKeyBoard self.session.openWithCallback(self.keyBoardCallback, VirtualKeyBoard, '')attached YouTubeSearch.py to solve the error
Re: New enigma2 VirtualKeyBoard #5
Posted 20 September 2019 - 15:21
Now it starts, the language has chosen English, on the France icon. If you try to remove the French language, crash.Skin default.
REMOVE Peer et1x000 REMOVE Peer et1x000 Traceback (most recent call last): File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 394, in keyok activeKBLayoutId=self.getActive_keylayout() File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 235, in getActive_keylayout selectedKBLayoutId = self.KBsettings.keys_layout.value AttributeError: 'LanguageListScreen' object has no attribute 'KBsettings'
Attached Files
Re: New enigma2 VirtualKeyBoard #6
Re: New enigma2 VirtualKeyBoard #7
Posted 20 September 2019 - 18:28
now crash fixed when removing languages
also Russian autocomplete fixed
to install last fixes from telnet (recommended) or to install from attached file now --== LINK REMOVED DUE TO LICENCE LIMITATIONS FROM SAMSAMSAM ==--
restart enigma2
Temporary small plugin appears in main menu to test New virtualkeyboard
Edited by Frenske, 23 September 2019 - 08:10.
Re: New enigma2 VirtualKeyBoard #8
Re: New enigma2 VirtualKeyBoard #9
Re: New enigma2 VirtualKeyBoard #10
Re: New enigma2 VirtualKeyBoard #11
Posted 21 September 2019 - 15:06
What’s wrong?Installed on a new image.Installed the plugin.I chose a new keyboard,restart the gui and everything shows up.I chose the keyboard built into the image,restart the gui the keyboard is new.Nothing changes.
Attached Files
Edited by foxbob, 21 September 2019 - 15:11.
Re: New enigma2 VirtualKeyBoard #12
Re: New enigma2 VirtualKeyBoard #13
Re: New enigma2 VirtualKeyBoard #14
Re: New enigma2 VirtualKeyBoard #15
Re: New enigma2 VirtualKeyBoard #16
Posted 21 September 2019 - 23:53
And again same thing. Please compare to https://gitlab.com/e...onents/e2ivk.py
Code licensed under custom license: https://gitlab.com/e...nd license.info
It is sad that administrators of this forum know that @mfaraj57 is breaking the license, but they wait until report.
Copyright claim:
The software share in this thread contains licensed code.
Usage of this code in this software brake it's license making this software illegal.
I kindly ask administrators of this forum to not allow further sharing this software here.
Re: New enigma2 VirtualKeyBoard #17
Re: New enigma2 VirtualKeyBoard #18
Re: New enigma2 VirtualKeyBoard #19
Posted 22 September 2019 - 18:31
The code and many additional things are not the same,anyone can compare,so no need to take your licence
i shared the ideas,yes but from e2istream but even ideas are not copyrighted and do not need licence
please keep the thread clean and anything off topic send pm for me i will not answer here.
Edited by mfaraj57, 22 September 2019 - 18:32.
Re: New enigma2 VirtualKeyBoard #20
9 user(s) are reading this topic
0 members, 9 guests, 0 anonymous users