Virtual Keyboard - page 2 - General Discussion and Assistance - CHDK Forum  

Virtual Keyboard

  • 14 Replies
  • 8912 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Virtual Keyboard
« Reply #10 on: 09 / January / 2009, 10:15:45 »
Advertisements
thanks, now working

wim

Re: Virtual Keyboard
« Reply #11 on: 10 / January / 2009, 17:07:43 »
please don't let it fall asleep

Re: Virtual Keyboard
« Reply #12 on: 14 / January / 2009, 14:52:49 »
Ok final version of gui_keypad is attached.

changes:
- added cursor (you can change cursor and add/remove characters at middle of text)
- erase/display key will work like backspace
- integrated with CHDK

Usage:

Call function gui_keypad_init(char *text_buff, int text_length, int text_max_length)
//text_buff - pointer to text
//text_length - length of current text (0 to make clean entry)
//text_max_length - size of text buffer - 1
This fuction will change gui mode to GUI_MODE_KEYPAD, after user typed text, keypad will change gui mode to previous mode and then you can access typed text by text pointer passed to function.


I think this should be added to trunk after first module using keypad, for now this can wait on forum for future :)
« Last Edit: 14 / January / 2009, 15:11:30 by elektro255 »

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Virtual Keyboard
« Reply #13 on: 14 / January / 2009, 15:50:04 »
Some suggestions after quick test:

- thin green cursor is fully invisible on low-resolution displays (like 115 kpixels in a710)
- colors are terrible (IMO)
- impossible to "deselect" green key (if it selected by mistake)
- how about to use other camera  keys (for example, "shutter_half" as "Shift", or use zoom rocker for cursor moving)?
- how about alternative keyboard layouts (Cyrillic, Greek etc)?
« Last Edit: 14 / January / 2009, 15:55:23 by ewavr »


Re: Virtual Keyboard
« Reply #14 on: 09 / May / 2009, 23:29:19 »
Is this going to the trunk at all? Seems to have stalled.
________________________
Jim Manning
Canon Powershot S5 IS (1.01b)

 

Related Topics