Comments (10)
Will you be using hid-gadget-test utility or the GUI app? You can
reconfigure all keys inside GUI app.
On Thu, Sep 10, 2015 at 2:29 PM, zeratoss [email protected] wrote:
Hey man great job!
I would love to use this with my Qwertz computer.
I saw #29 #29
and know that you have to recompile hid-gadget-test but how would you do
that for different keyboard layouts?—
Reply to this email directly or view it on GitHub
#36.
from android-keyboard-gadget.
The hid gadget utility with the duvky script bash interpreter from
http://zx.rs/6/DroidDucky---Can-an-Android-quack-like-a-duck/
from android-keyboard-gadget.
Thanks for the link, I've added it to readme.
On Thu, Sep 17, 2015 at 4:04 AM, zeratoss [email protected] wrote:
The hid gadget utility with the duvky script bash interpreter from
http://zx.rs/6/DroidDucky---Can-an-Android-quack-like-a-duck/—
Reply to this email directly or view it on GitHub
#36 (comment)
.
from android-keyboard-gadget.
Well you just put QWERTY keyboard near your QWERTZ, and note all keys that
are swapped from QWERTY layout. Then you swap the appropriate keys inside
hid-gadget-test sources, and recompile it.
On Fri, Sep 18, 2015 at 1:00 PM, Sergii Pylypenko [email protected]
wrote:
Thanks for the link, I've added it to readme.
On Thu, Sep 17, 2015 at 4:04 AM, zeratoss [email protected]
wrote:The hid gadget utility with the duvky script bash interpreter from
http://zx.rs/6/DroidDucky---Can-an-Android-quack-like-a-duck/—
Reply to this email directly or view it on GitHub
#36 (comment)
.
from android-keyboard-gadget.
The problem is that some keys like "" have no direct equivalent. On Qwertz it is "Alt Gr" + the key right of 0, but on Qwerty that combination does nothing, so i can't switch them.
from android-keyboard-gadget.
Check https://github.com/tejado/Authorizer/blob/master/app/src/main/java/net/tjado/authorizer/UsbHidKbd_de_DE.java for a german scancode mapping.
from android-keyboard-gadget.
@tejado thank you that looks really useful.
Can i just add missing keys like
{.opt = "ß" .val =0x2d},
?
Is it different for values longer than four like
kbdVal.put("€", new byte[] {0x40, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00} );
?
from android-keyboard-gadget.
With the ß you can. Maybe for € there is no adjustment necessary as it should be just "echo right-alt e | ./hid-gadget-test /dev/hidg0 keyboard" or? (not tested)
from android-keyboard-gadget.
I have the same problem as zeratoss has. I tried to add the \ (german keyboard) but i didn't get it working.
Did you manage it?
Can i change: {.opt = "backslash", .val = 0x31},? But which value?
@tejado I've found this line in your repository for german layout: {0x02, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00} But i think, this is a too long.
Any ideas?
from android-keyboard-gadget.
@VirtualThin
it isn't too long, it is the complete 8 byte scancode like explained here: https://github.com/pelya/android-keyboard-gadget#how-it-works
So my table is a complete mapping table as the mapping like in https://github.com/pelya/android-keyboard-gadget/blob/a41e6e2511cd5d76bc7aa2c9aa6ea45e98f0b78c/hid-gadget-test/jni/hid-gadget-test.c is done dynamic but is difficult to change to support other keyboard layouts.
The line for the backslash on a german layout is this:
kbdVal.put("", new byte[] {0x40, 0x00, 0x2d, 0x00, 0x00, 0x00, 0x00, 0x00} );
You can change your backslash value to "0x2d" but the problem is, that the modifier key (Right-Alt key in this case, which is 0x40) is missing, to type this on a german keyboard. As you can see in my line, the first byte is representing this modifier key. I'm not so sure how to map this correctly in the dynamic mapping code of pelya. Due to this I created these complete 8 byte scancode mapping tables.
from android-keyboard-gadget.
Related Issues (20)
- Some Questions...Pls Help HOT 2
- Stuck on opening HOT 10
- need hid patch for 4.4.117 kernel
- Ji
- Keyboard
- Require patch for samsung grand 2
- nokia 1020 HOT 1
- No f_hid.c found pls help
- pelya/Android_keyword gadget
- Permissions bug HOT 2
- rdp support HOT 1
- could you add support for samsung galaxy j3 (2016)
- Please send the poc_android files
- what is the VNC password?
- Pin
- How to get or Where can i find the hid-keyboard file?
- Add redmi note 4 support
- No 64bit support
- hid-gadget-test behaving strange
- Well
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-keyboard-gadget.