![]() |
#16 |
Pest
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
A friend of mine suffers from "low vision" due to "Retinitis pigmentosa".
He can barely read a monitor and only if he so close that his nose actually touches the glass. He still uses a CRT monitor because the side angle of LCD is always too low watching so close. He sees a small circle with text with borders rapidly fading to black. I let him try my Kindle touch. The good part is that can read it well and that he enjoys font resizing. He loves it and he would like an e-ink monitor for PC. However there are two main problems: 1) since he needs to stay so close the display is too dark (he shades the light with his head). An external light is annoying because it refletcs on his glasses. 2) he touches the display with his nose, thus randomly changing pages, and so on The ideal for him would be a non-touch kindle with the paperwhite illuminated display. Maybe a Kindle touch for handicapped people should let them choose from different layouts for turning pages. In the case of my friend the best would be to turn pages only sliding on the bottom of the screen. Last edited by pirl8; 09-08-2012 at 07:43 PM. |
![]() |
![]() |
![]() |
#17 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Intercepting the capacative touch screen events should be possible.
This would give the effect of a "non-touch" Kpw. Intercepting the capacative touch screen events to detect: Nose down, Nose up, Nose left, Nose right, etc might be difficult, might be **very** difficult depending on the code path from the event inputs. Here: "Nose ***" would be the same as "long touch" or "long tap". |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@toka: Whoa... that's really an impressive wishlist, so let's get things straight:
What you are asking for is almost a completely new firmware, not a modification of the existing one. I'm afraid this can't be done, at least not on a hobby basis. The one crucial thing is that it's almost impossible, without MAJOR changes, to change the functionality of the home button. Home button = start home screen booklet. Nothing else. The solution that I proposed above would require a patch to the reader (a relatively small one, but it's still quite a bit of work to find out how exactly it has to be implemented), and a substitute for the home screen booklet (which would have to be written from scratch, but that is -mostly- standard coding). What I can offer is to take a look into the abovementioned two topics first. No guarantees or deadlines though. Once that works ok, we could still get back to see whether it's feasible to include some of your suggestions concerning the home button (or, for instance, "key presses with indicator"). Interested? |
![]() |
![]() |
![]() |
#19 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Home button action is defined in /etc/xdg/awesome/rc.lua in function handleHomeKeyUp (there is also small partner function handleHomeKeyDown). At the end of function, there is following chunk of code: Code:
-- launch the default app log("==============Sending Home Button") logTimeStamp("home button press") client.validate_stacking_order() lipcH:set_int_property("com.lab126.appmgrd", "startdefault", 0) lipcH is a top-scope variable (defined in rc.lua) with handle for working with LIPC. In fact, one could not only set any external property through it, but also register new property for provider com.lab126.winmgr and change value of this new property appropriately. And even subscribe to LIPC events. Or send such events. For examples and insights: Spoiler:
So, with the help of LIPC one can transimt status of Home button from rc.lua to outside world. Or just read it's state from some other source (physical Home key is mapped as keyboard Home key). Sorry if it sounded like a crude refutation, I just wanted to help a little. |
|
![]() |
![]() |
![]() |
#20 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
I had already thought about posting a LIPC event on button press... then of course any software interested in it (that would include at least the home & reader booklets) would have to be changed to listen for these events, and to act accordingly. But this is what I consider to be a "major" change ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
(I didn't and my KT is a little bricked at the time) UPD Oh, line to comment should be Code:
awful.key({ "Any", }, "Home", handleHomeKeyDown, handleHomeKeyUp), Last edited by eureka; 09-11-2012 at 03:54 PM. |
|
![]() |
![]() |
![]() |
#22 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
It's possible but not in stock software configuration. Some OS parts should be re-worked, some should be ported. And no-one at the moment take any initiative in this field. I.e. no easy way.
|
![]() |
![]() |
![]() |
#24 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Anyway, it doesn't matter a lot as you are also can't try right now ![]() |
|
![]() |
![]() |
![]() |
#25 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Then I've also made a little kindlet with JTextArea and Home button didn't return cursor to starting position in editing mode. So (with my limited knowledge of Java and Kindlet system) I can say that Java susbsytem can't react to Home button as to keyboard button. However, I can be wrong. Still, kernel sources and evtest /dev/input/by-path/platform-whitney-button-event confirms that KT's Home button has keycode of ordinary keyboard Home button. |
|
![]() |
![]() |
![]() |
#26 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#27 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm. interesting info. poking around in the X config is fun. Thanks
|
![]() |
![]() |
![]() |
#28 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Untouchable
I want to add my brute force contribution to this topic. I wrote a very simple program, whose main aim is to turn Kindle Touch into a Non-Touch
![]() It just grabs all X events – keyboard (read One Key) and touchscreen input, so that the events don't reach other apps. It is just a proof of concept which may be further developed or used for some other project. I adjusted the program to what was asked for in one of the previous posts in this thread. It disables touchscreen input and turns home button events into touchscreen events, so that home button may be used to turn pages in reader application. When started program waits for pressing home button. When you press the home button, the touchscreen becomes inactive. There is only small 50×50 pixels active area in the upper right corner of the screen. Touching this area turns the program off. Home button presses are translated into touchscreen clicks. Short button press simulates click on the right side of the screen – forward page turn. Long button press imitates click on the left side of the screen – backward page turn. Duration of the long press may be adjusted on command line. I also prepared a GUI Launcher extension for those who don't want to mess around with command line. To use for reading a book start the extension from extensions folder. Then click on the book you want to read and when it opens just press home button. From this moment home button will work as described above and touchscreen will not work. To turn it off you will need to click in the upper right corner of the screen. You will find everything on my webpage. Code:
[root@kindle bin]# ./untouchable -h Usage: untouchable [OPTION] -t <milliseconds> - minimal time home button should be hold to be treated as long press (default 1500) -d - debug -h - show this message Spoiler:
|
![]() |
![]() |
![]() |
#29 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
![]() |
![]() |
![]() |
#30 | |
space cadet
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 333
Karma: 2999999
Join Date: Aug 2007
Location: Seattle area
Device: Rocket PRO, gen3, Pocketbook360
|
Quote:
(Mom is legally blind, might be able to see a title at one per page. So far, the idea of needing to hit two separate buttons (on the KK) at the same time to turn on TTS has been discouraging.) |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I removed the hacks, installed 3.1, then new hacks, and now Kindle is dead | cloudyvisions | Amazon Kindle | 55 | 11-29-2023 07:27 PM |
is there any way to get kindle 3 hacks/mods on a kindle touch? | macman134 | Kindle Developer's Corner | 7 | 03-10-2012 10:33 AM |
Handicapped man's moving endorsement of Kindle 2 | Dr. Drib | Amazon Kindle | 1 | 02-28-2009 10:43 AM |