dupa

Author Topic: Hap Buttons  (Read 9555 times)

Ooglor 7

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Hap Buttons
« on: March 12, 2009, 01:41:21 pm »
Hello again,

I was wondering if there is any way to trigger a hap through a button on a GUI skin? It would be cool to turn hap lights on and off through a button like the standard one's on hal's GUI. If this was possible, which it seems, then I imagine any hap could be designated to a button. That would be a good thing.

P.S. Jack, I hope all is well.
« Last Edit: March 13, 2009, 01:35:30 am by Ooglor 7 »
When a child is born without a soul...

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
Hap Buttons
« Reply #1 on: March 12, 2009, 03:02:42 pm »
Hal can be programmed to use the X10 protical and has been over the years so it seems possible that a button could be programmed to so might be possible, however, with X10 implemented all you have to do is ask Hal to turn on or off the lights.
Bill
 

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Hap Buttons
« Reply #2 on: March 12, 2009, 03:54:57 pm »
Bill, I think Oog means lighting within the Haptek player - not physical lights in your house.  What I think he is proposing is the addition of extra buttons to the UltraHal interface...which I think would be great too.
« Last Edit: March 12, 2009, 03:57:50 pm by freddy888 »

Larry

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Hap Buttons
« Reply #3 on: March 12, 2009, 07:00:03 pm »
quote:
Originally posted by Bill819

Hal can be programmed to use the X10 protical and has been over the years
Bill




I know I've been away for a few years, I did a search for x10 and came up with zip here... can you point me to more info ???
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3859
    • View Profile
Hap Buttons
« Reply #4 on: March 12, 2009, 07:51:30 pm »
Gee Larry...is that really you? There's cobwebs all over your avatar icon!!! Good to see you again!
In the world of AI it's the thought that counts!

- Art -

Larry

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Hap Buttons
« Reply #5 on: March 12, 2009, 10:12:15 pm »
Thanks, and it has  been a while hasn't it! And look at all you guys! 1,000s of posts and look at all the plugins you guys have done over the years! You guys are becoming real programmers! I am very impressed!

Good to see most everyone is still here!

By now I'd figure someone would have made a Yahoo Messenger bot, and an ICQ bot (did I forget any?)!

I remember all the things that are now built into Hal, we were doing as mods back then! Hal sure has come a long way! Very good job you guys! And Thanks Robert for building them into Hal!

When I left, haptek was just starting to be considered. In those days, we were looking at the Santa since he could lip sink! Things sure have progressed!

I'm still checking out all those plugins!!!

Rock on!

 

Ooglor 7

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Hap Buttons
« Reply #6 on: March 12, 2009, 10:18:49 pm »
Yes Hap lights, not physical lighting. Sorry, should have clarified. Something that adds a hap button to the GUI. In this case I used hap lighting as an example. The other standard buttons are layed out in the UHP of the GUI skin and it seems like it wouldn't be too hard to add buttons that trigger haps.
« Last Edit: March 13, 2009, 01:33:29 am by Ooglor 7 »
When a child is born without a soul...

Data

  • Sr. Member
  • ****
  • Posts: 325
  • Xen: Good question, Accessing database...
    • View Profile
    • Datahopa
Hap Buttons
« Reply #7 on: March 13, 2009, 07:27:00 am »
Nice idea Ooglor, and maybe we could add some buttons for some of the functions on the menu too, like open conversation log and brain editor.

We should bring it up at the next meeting [:)]  




freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Hap Buttons
« Reply #8 on: March 13, 2009, 09:59:01 am »
I agree, there has been times in the past where I would have liked to add extra buttons to a skin, then have some way of linking them to code or an external application.  Definitely one for the 'feature request' list.
« Last Edit: March 13, 2009, 01:18:28 pm by freddy888 »

Bill819

  • Hero Member
  • *****
  • Posts: 1483
    • View Profile
Hap Buttons
« Reply #9 on: March 13, 2009, 01:04:15 pm »
Larry
I know I've been away for a few years, I did a search for x10 and came up with zip here... can you point me to more info ???
[/quote]
I never tried it myself but you used to have to buy modules for each light,TV, etc and another that would plug into your PC. Then Hal when programmed would send out a signal to either turn on or off what ever you asked it to. It is or was a remote control for all electrical outlets in place.
That is all I know or remember.
Bill
 

Ooglor 7

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Hap Buttons
« Reply #10 on: March 13, 2009, 01:27:11 pm »
I'll try messing around with the existing buttons in the UHP of a GUI. Actually linking one to trigger a hap will be tricky and there's always the possibilty that the coding only allows for the 4 standard buttons.
When a child is born without a soul...

Ooglor 7

  • Sr. Member
  • ****
  • Posts: 369
    • View Profile
Hap Buttons
« Reply #11 on: March 13, 2009, 01:33:34 pm »
I do not see a way to add a button from the UHP. All of the options of the GUI are basically limited to size, image and placement. Even if I could duplicate a button in the UHP, it would still not have the ability to code what that button's function is. The stuff looks hard coded.
« Last Edit: March 13, 2009, 01:34:49 pm by Ooglor 7 »
When a child is born without a soul...

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Hap Buttons
« Reply #12 on: March 13, 2009, 02:45:37 pm »
Yeah that's what I thought too.  To do this we would need Rob to expand the features of the interface.

Larry

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
Hap Buttons
« Reply #13 on: March 13, 2009, 10:44:46 pm »
quote:
Originally posted by Bill819

That is all I know or remember.
Bill



Thanks Bill...
 

Jake

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://Ainsworth.net
Hap Buttons
« Reply #14 on: March 14, 2009, 03:28:00 am »
You could just add some code that would be triggered by a keyword that would bring up a configurable REMOTE control separate from the HAL interface.  Bringing up the separate remote and configuring Haptek commands to the remote's buttons would be easy enough... I'm just not sure of the VB code that would send the button push code back to the HAL interfaces Haptek window... anyone know that line of code?  I'd like to know it if you have it.
Austin, Texas, USA, Earth