Giter Club home page Giter Club logo

Comments (3)

pelya avatar pelya commented on July 2, 2024

I've added you to contributors, so push your changes right away, or you can
just send me your code.

Init/deinit code inside kernel is tricky, view the file /proc/last_kmsg on
the device to see kernel stack trace where it crashed.

You can open /dev/hidg0 directly from Java code, as a file input/output
stream, then just send keycodes there - I've recently added a detailed
description of the underlying protocol to the readme. I don't mind JNI
either.
On Aug 13, 2014 6:15 PM, "shaneharris" [email protected] wrote:

Currently running your kernel patch on my nexus and occasionally if
disconnected and reconnected to a PC i get 'USB device not recognized'. In
an attempt to resolve the issue I attempted to disable/enable usb debugging
but when I attempt to disable it the nexus freezes up and reboots a few
seconds later.

On a separate note I have written a JNI wrapper to make use of this
functionality in Java based apps. I would like to submit my code but i'm
not too familiar with github. Do I create a pull request or fork? Or do you
add me as a contributor? Anyway I'd love to release my code if you'll have
it.


Reply to this email directly or view it on GitHub
#7.

from android-keyboard-gadget.

sidequestlegend avatar sidequestlegend commented on July 2, 2024

do you know i never though of that at all! i figured you needed native as i assumed reading/writing to a device like that was low level. Never even considered file output stream. Kinda makes the JNI library redundant, unless there would be improved latency that way?

from android-keyboard-gadget.

pelya avatar pelya commented on July 2, 2024

Nah, latency will be the same. But if you already created and tested the
library, there's little sense to rewrite it just to remove JNI dependency.

On Wed, Aug 13, 2014 at 8:48 PM, shaneharris [email protected]
wrote:

do you know i never though of that at all! i figured you needed native as
i assumed reading/writing to a device like that was low level. Never even
considered file output stream. Kinda makes the JNI library redundant,
unless there would be improved latency that way?


Reply to this email directly or view it on GitHub
#7 (comment)
.

from android-keyboard-gadget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.