supplierdeeply

S110 touchscreen and CHDK

  • 6 Replies
  • 1096 Views
S110 touchscreen and CHDK
« on: 17 / March / 2014, 15:37:12 »
Advertisements
Hi,

I have a Powershot S110 which you know has a touchscreen.
Are there any possibilities to use the touchscreen also in CHDK mode?

1. For selecting a CHDK menu item?
2. To create an own button using CHDK drawing functions and trigger a (C / basic / lua) function on touching it?

Thanks for any help!
2 x IXUS 860IS 100c
2 x Powershot S110 103a

*

Offline srsa_4c

  • ******
  • 3628
Re: S110 touchscreen and CHDK
« Reply #1 on: 17 / March / 2014, 18:36:39 »
I have a Powershot S110 which you know has a touchscreen.
Are there any possibilities to use the touchscreen also in CHDK mode?
The CHDK touchscreen support currently only covers cameras which only have an insufficient number of physical buttons (ixus240, ixus310). It would be possible to add the necessary modifications to the other touchscreen models too, but it would not make much sense - soft buttons are not needed on these to make CHDK fully functional.
Quote
1. For selecting a CHDK menu item?
Would be nice, but the current CHDK GUI is not touchscreen-aware - it would need a major rewrite, and only a few camera models could take advantage of it.
Quote
2. To create an own button using CHDK drawing functions and trigger a (C / basic / lua) function on touching it?
Some kind of touch panel interface would be great - I've been thinking about an on-screen "keyboard" module (replacing the current text box on cameras with touchscreen). But I don't currently have an idea how this interface should be implemented...

Re: S110 touchscreen and CHDK
« Reply #2 on: 18 / March / 2014, 03:16:06 »
Hi srsa_4c,

thanks for reply. After reading what you answered I feel that it should be possible to read the touch screen somehow. My idea is to put an often used function into a new button on the touch screen.
May the user can select which function of CHDK should be started on pressing the touch button.

Since, as you said, there is already some touch functionality (ixus240, ixus310) I want to learn more details about it and how to develop/ create an own button to trigger an action.

What CHDK files I have to look into? Where is the functionality programmed for ixus240, ixus310?

Thanks for any guidance...

2 x IXUS 860IS 100c
2 x Powershot S110 103a

*

Offline msl

  • *****
  • 1235
  • A720 IS, SX220 HS 1.01a
    • CHDK inside
Re: S110 touchscreen and CHDK
« Reply #3 on: 18 / March / 2014, 07:19:06 »
The touchscreen stuff is in platform/<camera>/kbd.c.

Btw., you can also use doxygen for source code queries.

msl
German CHDK pages:  CHDK forum | CHDK inside | CHDK Twitter News by msl | Download CHDK-DE (Autobuild)
Note: SDM violates the GPL rules!


Re: S110 touchscreen and CHDK
« Reply #4 on: 18 / March / 2014, 10:16:43 »
Hi msl,

thanks I will take a look.
2 x IXUS 860IS 100c
2 x Powershot S110 103a

Re: S110 touchscreen and CHDK
« Reply #5 on: 18 / March / 2014, 12:08:28 »
Sounds very interesting. Well timed too as I just happened to come across a great deal on ebay for two S110's last week (one arrived yesterday, was supposed to be broken but found nothing wrong with it).

I will be very interested in how this turns out.  Also, I know this is a bit off topic, but does anyone know if it's possible to send data between two S110's (or similar) over WiFi? I'm pretty sure they can connect together to share images, but could CHDK be made to send it's own data over through WiFi?

EDIT: another idea, would it be possible for CHDK to invoke the built-in touch keyboard to use the output in a script or the text editor?
« Last Edit: 18 / March / 2014, 12:29:01 by Recyclojunk64 »

*

Offline srsa_4c

  • ******
  • 3628
Re: S110 touchscreen and CHDK
« Reply #6 on: 18 / March / 2014, 15:51:20 »
does anyone know if it's possible to send data between two S110's (or similar) over WiFi? I'm pretty sure they can connect together to share images, but could CHDK be made to send it's own data over through WiFi?
Here's reyalp's research thread, contributions are welcome ;)

Quote
would it be possible for CHDK to invoke the built-in touch keyboard to use the output in a script or the text editor?
Maybe, but that would also need research, there aren't many cameras that have the virtual keyboard.

 

Related Topics