View Single Post
Old 11-27-2009, 04:28 AM   #3
pwarren
Connoisseur
pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.pwarren can program the VCR without an owner's manual.
 
Posts: 95
Karma: 186186
Join Date: May 2009
Location: Canberra, Australia
Device: Irex Iliad (Dead), EcoReader (Smashed screen), Kobo Touch
from what I recall, you need to include the iliad eripc headers, create the ipc channel, then use that channel to show/hide the keyboard. This is C code, could probably work similarly in C++

Code:
// include eripc
#include <liberipc/eripc.h>
#include <liberipc/eripcviewer.h>
#include <liberipc/eripctoolbar.h>

// ipc channel variable
erClientChannel_t ertoolbarChannel;

// ipc channel creation
erIpcStartClient(ER_TOOLBAR_CHANNEL, &ertoolbarChannel);

// get the toolbar channel set up as for the PDF viewer application
tbSelectIconSet(ertoolbarChannel, ER_PDF_VIEWER_UA_ID);
tbClearIconSet(ertoolbarChannel, ER_PDF_VIEWER_UA_ID);

// enable on screen keyboard
tbAppendPlatformIcon(ertoolbarChannel,ER_PDF_VIEWER_UA_ID,iconID_keyboard,-1);

// turn off trashcan as an extra.
tbAppendPlatformIcon(ertoolbarChannel,ER_PDF_VIEWER_UA_ID,iconID_trashcan,-1);
tbSetStatePlatformIcon(ertoolbarChannel,ER_PDF_VIEWER_UA_ID,iconID_trashcan, iconState_grey);
Hope that helps a bit
pwarren is offline   Reply With Quote