New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for f(x)tec Pro1X #21
Comments
I discovered something similar. I moved one step further and even created two layouts I use on my Pro1x (Czech and US for the physical QWERTY version) - see While working on my changes, I tried to make the behaviour of the Czech layout as close to the PC keyboard layout for Czech as I could (since from HW layout point of view the differences are very small with Pro1x). The original yellow characters depicted on the QWERTY version of the HW keyboard are always available using the "Fn" key (i.e. the yelow up-right arrow) and I also added possibility of emitting the original white character displayed on the HW keyboard (usually different especially for keys with interpunction, etc.) using Fn+Shift combination (otherwise unused). I also provided support for characters mapped to AltGr+letter on the regular PC keyboard layout (for Czech) using Fn+letter. I believe that you might be able to create a German layout based on this (and I'm willing to help you with that if necessary). Obviously, the more important point is getting some feedback from the author or somebody else able to include these layouts into a new version of FinQwerty. Alternatively, we might try to ask user Slion or somebody else able to compile the needed Android package from the sources. |
Sorry, a minor follow-up - looking at the issue raised to FxQwerty, it seems that the "_spc" versions might need to be modified slightly to cover for that issue. However, I don't know if that is really necessary, because FxQwerty .kcm files are constructed as "full layouts" (according to the Android specification) whereas FinQwerty .kcm files seem to be created as "overlay layouts" thus probably keeping the default functionality for all combinations not explicitly specified in the respective .kcm file. Someone more knowledgeable might tell us, or we could find out by getting the new build from someone and testing it. BTW, to be clear - I would either decide for using the "_spc" versions, or the other, not both, because it makes no sense to have multiple almost identical layouts in the list of available keyboards in settings. |
Thanks for sharing! There is one more active fork that added support for the unihertz titan: https://github.com/fjdrjr/titanqwerty If we need to rebuild the project we also could create a fork, and see if we can build it ourselves to get an apk. Yet: I haven't done that for any android app so far. |
Anssi Hannula (author of FinQwerty) responded to my e-mail message earlier today and provided me with a test build. It doesn't work as expected yet, but I hope that we should be able to solve it (and that should allow adding the German layout for Pro1x as well). |
that's good to hear! Thanks! |
We're getting closer to resolution of issues with my first draft layouts for Pro1x (some of them were simply typos, there's just one more fundamental issue, but I'm convinced that we'll sort it out as well). The only thing complicating it a bit is the fact that Anssi doesn't have a Pro1x device (yet). I believe that it would be useful to get layouts for other languages (like German, which is of your interest as far as I understand it), but we'd probably need your involvement in this (I know German, but have no experience with German layout on PC keyboards, which is not the best start for proposing and testing appropriate layout for Pro1x). Are you willing to work on this (it isn't that much effort and not that difficult - my starting point was no knowledge of the .kcm files and their structure and I managed to prepare my proposal without any consultancy with more knowledgeable people). One more question which might help especially with testing - which of the variants of the Pro1x physical keyboard do you have, QWERTY, or QWERTZ? I have QWERTY; testing by somebody having the QWERTZ variant would be very useful in order to make sure that layouts for this variant are properly working as well. |
I have a German QWERTZ-Layout, and I can check out the .kcm files. It is close to this layout: comparing it to the qwerty-layout on this page the problem becomes quite obvious: the German QWERTZ-layout moves all the regular letters one button to the left, to make space for ÄÖÜ, etc. Do you know how the QWERTZ-layout was for the Pro1? Was it more akin to the QWERTY-layout with the Q next to the TAB-key? I just peeked into your kcm-files. Doesn't seem too complicated. Looks like you only needed to define "deltas" for the keys you're interested in, and each key is either identified by the single-character for each letter of the alphabet on the QWERTY-key, or a descriptive identifier for special characters. |
The best way would be to have a "sideloading"-mechanism, that doesn't require the app to be rebuild, but the app having an option to choose "use this file as keyboard layout". That would be great for testing, as makes the round-trips of defining and trying it out easy. Maybe the app already has that -- do you know about it? |
This "sideloading" has already been discussed somewhere (possibly in another thread / issue here?) and the outcome of the discussion was that it isn't possible, because Android requires the layouts to be compiled into the application (in resources, i.e. without possibility to change the content dynamically). |
That's unfortunate, but I understand. Thank you! |
I can imagine the QWERTZ layout of Pro1x from physical point of view, because I assume that it isn't different from my QWERTY apart from Z<->Y and differences on the numeric, interpunction and symbol keys. The referenced picture shows a QWERTY version with a modified layout. What we need:
Neither of these things is solved by the referenced picture.
Funnily enough, the images on this web page related to Pro1x show the layout of the Pro1 model. ;-)
No, this is the difference between Pro1 and Pro1x, not between QWERTZ and QWERTY versions.
You can see the stock layouts of Pro1 keyboards on the FinQwerty page.
Indeed. The only somewhat more complicated thing is that you need to find the respective Unicode number characters above ASCII 127 (or 7f in hexadecimal notation), but tools like programmer editors show you Unicode numbers of typed characters and there are web pages with the Unicode definitions which may be needed for looking up special things like the so-called 'combining characters', i.e. the accents not used by itself but rather modifying the following character (e.g. diaeresis aka the German umlaut). |
I'm confused: |
Well, interesting. However, I have a Pro1x with QWERTY and it has 'Q' next to Tab, i.e. not like on the FxTec page. |
BTW - does it mean that your Pro1x QWERTZ layout looks exactly like the stock Pro1 QWERTZ layout depicted on the FinQwerty page (no difference whatsoever)? If so, then it answers at least one of my three bulletpoints above. |
yes, that's how my QWERTZ-layout looks. |
OK, fine. The differences for M, Alt and Space are the same on the QWERTY version. L is different (Fn+L gives a semicolon on stock QWERTY), that needs to be considered for the version for physical QWERTZ (I'll create the Czech layout for physical QWERTZ based on this input for you). Moreover, I guess that based on this, we can assume that the key identifiers/names would probably be the same for the QWERTZ version of Pro1x as with the QWERTZ version of Pro1, so we can just use the Pro1 version of .kcm files from FinQwerty repository to check for possible differences - that makes it easier. :-) |
Sorry for the delay in response. Since the QWERTZ layouts of Pro1 and Pro1 X are physically similar but just emit different scancodes, I can do a straight-forward conversion of the existing Pro1 layouts for Pro1 X. I plan to make a release with that within the next 1-2 days. |
Here is a current test version if you wish to try it out (it contains the QWERTZ-model layouts ported from Pro1, plus the two QWERTY-model layouts from @xhajt03): APK: https://android.onse.fi/finqwerty/finqwerty-pro1x-test4.apk |
Thank you very much!!! |
Released in v1.6.0. |
I tried finquerty with a German layout on the new Pro1X, but the key codes seem to have changed compared to the Pro1: all letters are moved to the right - pressing k results in l, etc.
Is there a way tp fix it? Is this project still active?
Thanks!
The text was updated successfully, but these errors were encountered: