update ToDo list
This commit is contained in:
parent
72057cda0e
commit
68c6ec0cc4
22
TODO v2.0
22
TODO v2.0
@ -4,20 +4,24 @@ Things with not so deep knowledge needed are marekd wiht "(Easy for contribution
|
|||||||
General:
|
General:
|
||||||
- implement onScreenUpdate commands
|
- implement onScreenUpdate commands
|
||||||
read highlighted text mode
|
read highlighted text mode
|
||||||
- try to make it more asynchronus with multpible threads
|
- try to make it more asynchronus with multpible threads (DONE)
|
||||||
- be more event based (vcsa sets POLLPRI)
|
- be more event based (vcsa sets POLLPRI)
|
||||||
http://scotdoyle.com/python-epoll-howto.html
|
http://scotdoyle.com/python-epoll-howto.html
|
||||||
Needed events:
|
Needed events:
|
||||||
screen update (vcsa sets POLLPRI)
|
screen update (vcsa sets POLLPRI) (DONE)
|
||||||
plug input device (udev event)
|
plug input device (udev event)
|
||||||
screen changed (logind event, collides with screen update)
|
screen changed (logind event, collides with screen update) (DONE)
|
||||||
keyboard input (select, wait forever)
|
keyboard input (select, wait forever) (DONE)
|
||||||
braille input (brlapi_readKey)
|
braille input (brlapi_readKey)
|
||||||
braille flush (timer, sleep)
|
braille flush (timer, sleep) (DONE)
|
||||||
Each event is watched in an own thread. This improves performance and reduce the load.
|
Each event is watched in an own thread. This improves performance and reduce the load. (DONE)
|
||||||
The event loop is to be done as "queue" since those are thread safe.
|
The event loop is to be done as "queue" since those are thread safe. (DONE)
|
||||||
The threads are reading incomming data and add the events and data to the queue
|
The threads are reading incomming data and add the events and data to the queue (DONE)
|
||||||
the mainloop just reads the queue in an blocking way and executes the needed codepath with the data.
|
the mainloop just reads the queue in an blocking way and executes the needed codepath with the data. (DONE)
|
||||||
|
clean up the code for the events so that just the correct codepath is used:
|
||||||
|
- screen
|
||||||
|
- input
|
||||||
|
- new device
|
||||||
- leave review on typing
|
- leave review on typing
|
||||||
|
|
||||||
- implement commands
|
- implement commands
|
||||||
|
Loading…
Reference in New Issue
Block a user