funkey-project / libopk Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pcercuei/libopk
Library to handle OpenDingux .opk packages
This project forked from pcercuei/libopk
Library to handle OpenDingux .opk packages
Hello guys,
i see that you revamped the whole key mapping thing, which is great.
Unfortunately the way it needs to be set up right now can be a maintenance burden.
I propose to to make it easier for me and other people expecting an OD mapping the following thing :
Something like an opendingux=1 option to set in the desktop file that would be detected in opkrun could do.
CLEAR
MAP FN TO KEY KEY_ESCAPE
MAP START TO KEY KEY_ENTER
MAP UP TO KEY KEY_UP
MAP LEFT TO KEY KEY_LEFT
MAP DOWN TO KEY KEY_DOWN
MAP RIGHT TO KEY KEY_RIGHT
MAP R TO KEY KEY_BACKSPACE
MAP L TO KEY KEY_TAB
MAP A TO KEY KEY_LEFTCTRL
MAP B TO KEY KEY_LEFTALT
MAP X TO KEY KEY_LEFTSHIFT
MAP Y TO KEY KEY_SPACE
MAP MENU TO KEY KEY_HOME
Alternatively, you could have a setting in the desktop file that loads the key mapping from there instead.
Cheers
OPKs are not always unmounted correctly, that means that it breaks usb mount when that happens. That bug is a regression in firmware 2.1.0 since the mount point (/opk) is not removed anymore:
Line 436 in f97f593
Expected behavior:
All OPKs should be unmounted correctly on exit.
Workaround:
Rebooting the device, launching another OPK or forcing the unmount with "umount -f /opk" command.
Solution:
Adding "-f" in "umount(OPK_MOUNTPOINT);" may fix the issue.
Line 435 in f97f593
Steps to reproduce:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.