Author Topic: Gyration Remote - F6 & F8 (roses) - **FOUND SOLUTION!**  (Read 7341 times)

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Gyration Remote - F6 & F8 (roses) - **FOUND SOLUTION!**
« on: March 27, 2009, 09:20:29 pm »
I followed these instructions: http://wiki.linuxmce.org/index.php/Using_the_Gyration_Remote_GYR3101US_(Non-Fiire_Chief)

Everything works except the F-key mappings. Is there a way to configure the device template for the F6-8 keys so I can pull up the ambiance and channel roses? I was able to get ambiance by mapping yellow to the volume buttons:

yellow,174,R (volume up button)
yellow,176,R (volume down button)

But how can I map the Channel/Chapter Fast Forward/Rewind and Pause functions (i tried blue, that that didn't do it).
« Last Edit: April 02, 2009, 05:57:31 am by donpaul »

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: Gyration Remote - F6/F7/F8 functionality??
« Reply #1 on: March 27, 2009, 10:48:11 pm »
btw, I followed the intructions for Xmodmap, and all maps work EXCEPT the F keys. The volume up/down does not bring up the roses. I ran xev and verified that x translates the keypresses to F6/F8 and it does. For some reason, it doesn't work inside LinuxMCE.

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: Gyration Remote - F6/F7/F8 functionality??
« Reply #2 on: March 28, 2009, 08:07:38 pm »
I was more wondering how to map a remote button to the roses. Other people have done it with .Xmodmap, and mapped to the F6/F8 buttons. I did the same but with no success. All mappings to letter keys work fine, but not the F- keys. Anyone know how to map the roses without using .Xmodmap?

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #3 on: March 28, 2009, 08:15:05 pm »
Nobody seems to ever listen to me...

Those keys are DEAD KEYS

they are not dealt with by the kernel, THEREFORE, you have to parse the HID packets manually. This is done normally by Orbiter. Look at the HID* stuff in src/Orbiter/Linux . For the Fiire and Gyration mouse, the packets for the extra buttons are handled manually.

I will not talk about this again, you guys know what you have to do, and no amount of Xmodmapping will save you.

So please, stop bringing this up!

-Thom

dlewis

  • Guru
  • ****
  • Posts: 401
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #4 on: March 28, 2009, 09:53:59 pm »
Before Thom blows a gasket guys, please try what he suggests... If it doesn't work, then we can go another route.

krys

  • Addicted
  • *
  • Posts: 583
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #5 on: March 30, 2009, 05:45:19 pm »
Thom already offered his services to _FULLY_ support this remote if we could pay him for 40hrs (iirc) of work. I can find the thread link but it was up to $500 the last time I looked at it. I think it would be very beneficial to the whole community to have a fully supported remote that is still for sale.

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #6 on: March 31, 2009, 11:39:17 pm »
Guys, I don't think you are reading my post. I AM NOT MAPPING THE COLOR KEYS ON MY REMOTE. I am mapping the volume up/down on my remote to the roses, but without using .Xmodmap. I followed the wiki, and modified the gyration GO template. How can I map them to the volume up/down on the remote WITHOUT using .Xmodmap (the duct tape method).

These are the UP/DOWN buttons I have mapped to yellow in the template config:

yellow,174,R
yellow,176,R

174 is the volume up button. 176 is the volume down button

Right now they both call the volume rose (as you can see by yellow) AND IT WORKS. I want the vol down button to call the chapter/ff/rew rose but I don't know what to map it to (I tried blue, but no go). I can try to calrify it even more if anyone thinks I am still asking for something that can't be done!

This is the wiki I followed: http://wiki.linuxmce.org/index.php/Using_the_Gyration_Remote_GYR3101US_(Non-Fiire_Chief)
The alternate config by glasswalker.

And I will update the wiki so it is less "Duct taped" if I can get this question answered! Come on people, one of the developers must know this!
« Last Edit: March 31, 2009, 11:44:49 pm by donpaul »

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #7 on: March 31, 2009, 11:42:43 pm »
Thom already offered his services to _FULLY_ support this remote if we could pay him for 40hrs (iirc) of work. I can find the thread link but it was up to $500 the last time I looked at it. I think it would be very beneficial to the whole community to have a fully supported remote that is still for sale.


I would chip in if the remote would be FULLY supported. I assume that means all buttons on the remote.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #8 on: March 31, 2009, 11:45:32 pm »
Yes, full support. Would you please listen to me?

NO AMOUNT OF XMODMAPPING WILL SAVE YOU!

The dead keys have to be handled at Orbiter itself.

-Thom
« Last Edit: March 31, 2009, 11:48:38 pm by tschak909 »

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #9 on: March 31, 2009, 11:57:03 pm »
OK, at this point, I am going to start a new thread asking for people to post if they are interested in contributing to Thom's effort in getting this properly integrated with LMCE. For what it is worth, I think that it is a good idea, and Thom is the correct person to do the work. He also deserves to be appropriately remunerated for this effort. If we get a reasonable number of people interested, I will work with Thom to determine how much this will cost per person. All those who are concerned that they have limited ability to contribute meaningfully to this project, here is your opportunity! You will not only help yourself and Thom, but also leave a lasting legacy for others.

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #10 on: April 01, 2009, 12:07:07 am »
Yes, full support. Would you please listen to me?

NO AMOUNT OF XMODMAPPING WILL SAVE YOU!

The dead keys have to be handled at Orbiter itself.

-Thom

BUT, in the meantime, how do I modify the template so the volume up/down buttons pull both roses? The volume up/down buttons are not dead buttons. I can map those to anything I want right now by modifying the gyration template. I can currently pull the volume rose with the volume up/down button right down.

Are you saying the roses are dead, or the volume up/down buttons are dead?

And do you agree with everything on the wiki page for the non-fiire gyro remote?
« Last Edit: April 01, 2009, 12:12:08 am by donpaul »

Dale_K

  • Veteran
  • ***
  • Posts: 149
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) functionality??
« Reply #11 on: April 01, 2009, 12:17:22 am »
OK, at this point, I am going to start a new thread asking for people to post if they are interested in contributing to Thom's effort in getting this properly integrated with LinuxMCE. For what it is worth, I think that it is a good idea, and Thom is the correct person to do the work. He also deserves to be appropriately remunerated for this effort. If we get a reasonable number of people interested, I will work with Thom to determine how much this will cost per person. All those who are concerned that they have limited ability to contribute meaningfully to this project, here is your opportunity! You will not only help yourself and Thom, but also leave a lasting legacy for others.

You can count me in for $100 via paypal, CC, googlepay, whichever is most convenient.  PM me with payment details.

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) - **FOUND SOLUTION!**
« Reply #12 on: April 02, 2009, 06:10:26 am »
I modified the device template for the Gyration mouse. All changes are to the template only- nothing is duct taped. The only buttons not working are the dead buttons (channels, 3 of the "color buttons", live tv, menu).

Everything works in media and myth.

I added this to #59 Configuration (yellow maps the volume rose to volume up button):
Code: [Select]
### Media Control ###
Stop,164,D
Record,177,D
Pause,110,D
Play,179,D
Rewind,152,D
fastforward,180,D
SkipPrior,144,R
SkipNext,153,R

### Navigation ###
ok,36,D,Y
Up,98,R,Y
Down,104,R,Y
Left,100,R,Y
Right,102,R,Y
Clear,234,D
guide,134,U

### Volume rose and mute ###
yellow,176,U
#yellow,174,U
Mute,160,D

### Number Buttons ###
1,10,U,Y
2,11,U,Y
3,12,U,Y
4,13,U,Y
5,14,U,Y
6,15,U,Y
7,16,U,Y
8,17,U,Y
9,18,U,Y
0,19,U,Y
shortcut1,10,H,Y
shortcut2,11,H,Y
shortcut3,12,H,Y
shortcut4,13,H,Y
shortcut5,14,H,Y
shortcut6,15,H,Y
shortcut7,16,H,Y
shortcut8,17,H,Y
shortcut9,18,H,Y
shortcut0,19,H,Y
Clear,9,D
enter,36,D,Y

#MCE Button mapped to "green" for pulling up menu during playback
green,97,U

I used this for #60 mapping (maps the chapter/ff/rw rose function to volume dn button):
Code: [Select]
2,183=2,73
3,183=3,73
2,184=2,74
3,184=3,74
2,182=2,72
3,182=3,72
2,174=2,72
3,174=3,72

So if anyone wants a "mostly working" remote until Thom can roll out a fully supported code, there you go. And yes I'll update the wiki. :)
« Last Edit: April 02, 2009, 03:22:43 pm by donpaul »

donpaul

  • Guru
  • ****
  • Posts: 300
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) - **FOUND SOLUTION!**
« Reply #13 on: April 02, 2009, 06:20:29 am »
For those who want volume up and down to both pull the volume rose, you can assign the picture button below volume to pull up the chapter rose.

Uncomment this in the#59 Configuration (also maps the volume rose to volume down button):
Code: [Select]
yellow,174,U
Use this for #60 mapping (to map the chapter/ff/rw rose function to the picture button):
Code: [Select]
2,183=2,73
3,183=3,73
2,184=2,74
3,184=3,74
2,182=2,72
3,182=3,72
2,237=2,72
3,237=3,72

krys

  • Addicted
  • *
  • Posts: 583
    • View Profile
Re: Gyration Remote - F6 & F8 (roses) - **FOUND SOLUTION!**
« Reply #14 on: April 02, 2009, 03:30:22 pm »
Thanks Donpual, that will be very helpful for the time being.