Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2023, 12:52 PM   #1
lsmeni
Junior Member
lsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 2
Karma: 12554
Join Date: Jan 2023
Device: KT2
Being the only one capturing touch input?

Hi all!

By following the amazing research done by this community , I've managed to capture touch input by reading on /dev/input/event1. However, the touch events still got forwarded to the current displayed applet. Because I'm planing to use these events for a fullscreen application (drawn by fbink), that behavior would be undesirable...

Is there a simple workaround to be the only input reader?
lsmeni is offline   Reply With Quote
Old 01-31-2023, 04:14 PM   #2
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Quote:
Originally Posted by lsmeni View Post
Hi all!

By following the amazing research done by this community , I've managed to capture touch input by reading on /dev/input/event1. However, the touch events still got forwarded to the current displayed applet. Because I'm planing to use these events for a fullscreen application (drawn by fbink), that behavior would be undesirable...

Is there a simple workaround to be the only input reader?
You want the EVIOCGRAB ioctl, here's an example of using it to capture input devices in C.
katadelos is offline   Reply With Quote
Advert
Old 02-01-2023, 02:41 PM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
If you're using the excellent `libevdev` library to handle low-level input handling, it also happens to have a dedicated wrapper for it.
NiLuJe is offline   Reply With Quote
Old 02-03-2023, 08:19 PM   #4
lsmeni
Junior Member
lsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterlsmeni can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 2
Karma: 12554
Join Date: Jan 2023
Device: KT2
Quote:
Originally Posted by katadelos View Post
Suuuper! Took me some time to figure out how to cross-compile for kindle (ended up using this toolchain) but it worked just as expected.



Quote:
Originally Posted by NiLuJe View Post
If you're using the excellent `libevdev` library to handle low-level input handling, it also happens to have a dedicated wrapper for it.
I was not familiar with libevdev, will definitely check that out. Thanks!
lsmeni is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting touch input on the Kindle Touch Wifi, y-axis not updating apricorn Kindle Developer's Corner 1 03-21-2022 11:36 PM
Emulating Nickel + touch input NiMa Kobo Developer's Corner 2 04-15-2021 10:32 PM
Taking over touch screen input + a simple drawing program. JoppyFurr Kindle Developer's Corner 11 07-28-2012 07:25 PM
Touch how to enable third-party input method in rooted nook touch tigerszheng Barnes & Noble NOOK 5 10-24-2011 08:30 PM
iRex 1000 vs 1000S: Can I disable touch input? oddity iRex 4 05-04-2009 10:15 AM


All times are GMT -4. The time now is 01:41 AM.


MobileRead.com is a privately owned, operated and funded community.