PDA

View Full Version : Here Remap your X-Fi Remote Controll manually.


ThePhenome
12-11-05, 04:15 AM
Hello All.

Many usere looking to use the Remote Control with their program like PowerDVD and WinAmp.

I contact the Customers Service and they told me the X-Fi remoter was Configured to work with Entertainment center!. However. As there's some Keys work in PowerDVD and Media Player and Keys is not. So I made my research I found that.

Yes, we can use the Remote Control with 3d Party application and the Remote control accept a ReMap for the Key,t but Creative programmer didn't implement it on the Interface I don't know why, maybe in another update.

You can see that by look at the Program directory at

X:\Program Files\Creative\Sound Blaster X-Fi\Entertainment Center

You will see this Directory

X:\Program Files\Creative\Sound Blaster X-Fi\Entertainment Center\KeyMap

Inside it you will find All the KeyMap for most popular programs like MediaPlayer,WinDVD and PowerDVD and more. But the KeyMap in most of case is not correct , so for a start I worked in PowerDVD KeyMap.
And Woo, Now I can Manage PowerDVD from distance with the R.C. just by bend the right Key to the Right KeyEvent.
I talked to much let's get in the Details.

----
In this Directory

X:\Program Files\Creative\Sound Blaster X-Fi\Entertainment Center\RCRx

You will find these files.

rm-900.RCI
rm-1000.RCI
rm-1500.RCI
rm-1800.RCI
iR2000.rci

in our case the R.C. Model is rm-1800.RCI for X-Fi Users.

As you open it in Notepad you will see All the R.C Key Code Event

Example
====
[RCKeyCodeA15E44C1]
MMCDEvent=6917
KeyName=Next
OneShot=7
====
Here the Code"6917" for the Key "NEXT"
And so on.

Now go to

X:\Program Files\Creative\Sound Blaster X-Fi\Entertainment Center\KeyMap

And open in NotePad "PowerDVD.key" File

Example
==
[KeyEvent6926]
KeyName=Capture
Notification=-1
KeyEventRemap=67
HandleByApp=1
==
Here we but the KeyEvent "6926" which is for "REC" button to the Capture Command in PowerDVD by Remap it to KeyEvent "67"

You may ask me what is "67" number.. really I don't know you can check out all the KeyMap files and will get the a little idea for this numbers what can do.

I got the PowerDVD KeyEventRemap numbers by Experiments.

Here I will put the Configuration of PowerDVD " PowerDVD.key just Copy & Past


=============
[RC Key Map Information]
Name=CyberLink PowerDVD
Version=1.30
By=Creative Technology Ltd.
Company=Creative Technology Ltd.
Copyright=Copyright (C) 2000 Creative Technology Ltd. All Rights Reserved.
Comments=Copyright (C) 2000 Creative Technology Ltd. All Rights Reserved.


; Bind to -1- Button.

[KeyEvent6901]
KeyName=A-B Repeat
Notification=-1
KeyEventRemap=88
HandleByApp=1

; As is it.

[KeyEvent690]
KeyName=Repeat
Notification=-1
KeyEventRemap=131154
HandleByApp=1

; Bind to -2- Button.

[KeyEvent6902]
KeyName=Add Bookmark
Notification=-1
KeyEventRemap=77
HandleByApp=1

; Bind to -3- Button.

[KeyEvent6903]
KeyName=Goto Bookmark
Notification=-1
KeyEventRemap=71
HandleByApp=1

; As is it.

[KeyEvent6975]
KeyName=Next Angle
Notification=-1
KeyEventRemap=65
HandleByApp=1

; Bind to -4- Button.

[KeyEvent6904]
KeyName=Next Audio Stream
Notification=-1
KeyEventRemap=72
HandleByApp=1

; Bind to -5- Button.

[KeyEvent6905]
KeyName=Next Subtitle
Notification=-1
KeyEventRemap=85
HandleByApp=1

; Bind to -6- Button.

[KeyEvent6906]
KeyName=Zoom
Notification=-1
KeyEventRemap=90
HandleByApp=1

; Bind to -Options- Button.

[KeyEvent6931]
KeyName=Accesses all available DVD menus
Notification=-1
KeyEventRemap=76
HandleByApp=1

; Bind to -RETURN- Button.

[KeyEvent6956]
KeyName=Menu
Notification=-1
KeyEventRemap=74
HandleByApp=1

; AS is it.

[KeyEvent6970]
KeyName=i-Power
Notification=-1
KeyEventRemap=114
HandleByApp=1

; Bind to -Select- Button.

[KeyEvent6954]
KeyName=Enter
Notification=-1
KeyEventRemap=13
HandleByApp=1


; Bind to -Play/Pause- Button.

[KeyEvent6923]
KeyName=Pause
Notification=-1
KeyEventRemap=32
HandleByApp=1

; Bind to -Play/Pause- Button.
[KeyEvent6923]
KeyName=Play
Notification=-1
KeyEventRemap=13
HandleByApp=1

; Bind to -Play/Pause- Button.

[KeyEvent6924]
KeyName=Stop
Notification=-1
KeyEventRemap=83
HandleByApp=1

; Here you bind -Next- Button to Next Chapter
;[KeyEvent6917]
;KeyName=Next
;Notification=-1
;KeyEventRemap=78
;HandleByApp=1

; Here -Next- Button changed to act like Page Up Key.
[KeyEvent6917]
KeyName=Time Seek (Page Up)
Notification=-1
KeyEventRemap=34
HandleByApp=1


; Here you bind -PREVIOUS- Button to Prev. Chapter
;[KeyEvent6916]
;KeyName=Prev
;Notification=-1
;KeyEventRemap=80
;HandleByApp=1

; Here -Next- Button changed to act like Page Down Key.
[KeyEvent6916]
KeyName=Time Seek (Page Down)
Notification=-1
KeyEventRemap=33
HandleByApp=1

; Here you bind -Rew- Button to Next Chapter

[KeyEvent6914]
KeyName=Step Rew
Notification=-1
KeyEventRemap=66
HandleByApp=1

; Here you bind -Fwd- Button to Next Chapter

[KeyEvent6915]
KeyName=Step Fwd
Notification=-1
KeyEventRemap=70
HandleByApp=1

; Here you bind -REC- Button to Next Chapter

[KeyEvent6926]
KeyName=Capture
Notification=-1
KeyEventRemap=67
HandleByApp=1



Yes I forget sommothing there's file called

" Default.KEY"

In the

X:\Program Files\Creative\Sound Blaster X-Fi\Entertainment Center\KeyMap
This is the Default Key that's work with all programs. You can edit it also.


I hope you find this useful for all X-Fi users.

Now You can make your KeyMap and let's share our result.

- Sorry for my weak English.
(snowman)

OWA
12-11-05, 11:35 AM
Excellent, nice find and thanks for sharing the info. (cheers)

Scunner
12-11-05, 01:28 PM
Awesome work!

I think my remote may be getting a dusting later today.

superklye
12-11-05, 01:31 PM
This is awesome...thanks a lot for your work. :) I'd really like to get the remote to work with Winamp, as it is my music player of choice.

Now, if you remap the keys for, say, PowerDVD, it will only work with PowerDVD, right, and no longer with the Entertainment Center?

TierMann
12-11-05, 04:19 PM
You could probably just make a bunch of keymaps for different apps and write a batch file or vbscript to copy them over the appropriate file. That would make it quick to switch between maps. Even quicker if you have a programmable keyboard because you could make hotkeys for the batch files.

t3hl33td4rg0n
12-11-05, 05:06 PM
I noticed something wierd about this remote. It uses standard ASCII. My media player has to be in the main focus. For example, if I am listening to music and in my broswer (FF). The previous and next key scrolls the window lol.

ThePhenome
12-13-05, 01:54 AM
I'm happy you find this useful.

I don't think so, if you configure your RC to PowerDVD you will never loos the control over MediaSoruce
Because in the KeyMap Directory this file "CTCMS.key" responsible about the MediaSoruce and this "PowerDVD.key"
for PowerDVD program.
Really i don't know how this progy works.
if you try to Delete PowerDVD key you loose the control over powerDVD and even this file "CTCMS.key" you will no longer control MediaSoruce.

I hope they make a good update soon for the R.C.

Nothing is perfect you I have to make the Program i use IN FOUCE to use the RC.

Any one here manage to make the RC able to run EXE file. like START button?

this an update for "CTCMS.key" file to make the RC work with craetive MediaSoruce button like"Play/Pause,Stop,Record,Open,Next,Prev.
----"CTCMS.key" file

[RC Key Map Information]
Name=Quintessential Player 4.51
Version=1.0
By=Creative Technology Ltd.
Company=Creative Technology Ltd.
Copyright=Copyright (C) 2004 Creative Technology Ltd. All Rights Reserved.
Comments=

[KeyEvent6955]
KeyName=Close
Notification=3
KeyEventRemap=61536

[KeyEvent6954]
KeyName=Select/Enter
Notification=-1
KeyEventRemap=13

[KeyEvent6956]
KeyName=ESC
Notification=-1
KeyEventRemap=27

[KeyEvent6950]
KeyName=Up
Notification=-1
KeyEventRemap=38

[KeyEvent6951]
KeyName=Down
Notification=-1
KeyEventRemap=40

[KeyEvent6952]
KeyName=Left
Notification=-1
KeyEventRemap=37

[KeyEvent6953]
KeyName=Right
Notification=-1
KeyEventRemap=39

[KeyEvent6958]
KeyName=Left/Rew
Notification=-1
KeyEventRemap=131109

[KeyEvent6959]
KeyName=Right/FF
Notification=-1
KeyEventRemap=131111

[KeyEvent6914]
KeyName=Rew
Notification=-1
KeyEventRemap=131109

[KeyEvent6915]
KeyName=FF
Notification=-1
KeyEventRemap=131111




;[KeyEvent6923]
;KeyName=Play/Pause
;Notification=-1
;KeyEventRemap=131152


[KeyEvent6923]
KeyName=Play/Pause
Notification=-1
KeyEventRemap=131104







[KeyEvent6942]
KeyName=Mute
Notification=-1
KeyEventRemap=131157


[KeyEvent6931]
KeyName=Open
Notification=-1
KeyEventRemap=131151



[KeyEvent6924]
KeyName=Stop/Eject
Notification=-1
KeyEventRemap=131155

[KeyEvent6917]
KeyName=Next Track
Notification=-1
KeyEventRemap=131106

[KeyEvent6916]
KeyName=Prev Track
Notification=-1
KeyEventRemap=131105

[KeyEvent6926]
KeyName=Record
Notification=-1
KeyEventRemap=131154

[KeyEvent6901]
KeyName=EAX
Notification=-1
KeyEventRemap=131141

----

Adam Rz.
12-19-05, 07:24 PM
Example
==
[KeyEvent6926]
KeyName=Capture
Notification=-1
KeyEventRemap=67
HandleByApp=1
==
Here we but the KeyEvent "6926" which is for "REC" button to the Capture Command in PowerDVD by Remap it to KeyEvent "67"

You may ask me what is "67" number.. really I don't know you can check out all the KeyMap files and will get the a little idea for this numbers what can do.

Hi all. First thing forgive me my weak english.
I'm also interested about using RM 1800 in other apps, most recently for winamp.
So maybe this information help for somebody. I take have a look for a file called Winamp v1.x.key in KeyMap folder, and I see those KeyEventRemap numbers are internal WM_COMMAND's for Winamp.

for example in this key file we have
[KeyEvent6971]
KeyName=Pause
Notification=2
KeyEventRemap=40046
HandleByApp=1

i search for some source code for delphi winamp control application and i found this...
Procedure WA_Play();
var hwndWinamp : THandle;
begin
If WA_NoOfTracksLoaded >0 then //Do not trigger play on empty playlist (this will bring up a file dialog in Winamp)
Begin
hwndWinamp := FindWindow('Winamp v1.x', nil);
Case WA_PlayState Of
WA_IsStoped: PostMessage(hwndWinamp,WM_Command,40045,0); //Play if stoped
WA_IsPaused: PostMessage(hwndWinamp,WM_Command,40046,0); //UnPause if stoped (continues on the same spot in the track)
end; //Case
end;//If WA_NoOfTracksLoaded
End;

so those numbers are WM_COMMAND's parameters. I hope so this help to somebody...

And also like we see names of those key files are handlers of main windows of apps...
So if somebody know how to get the WM_COMMAND params from apps, can also write good key file... for any application.

When i comapre KeyEventRemap with WM_COMMAND params from Winamp Control source code they are good but i'don't know why my RM dosen't work with winamp :(

Greatings for all.

pivoj13
01-26-06, 03:03 PM
More informations for .key files (an attemt to summary results):

[KeyEvent6901]... defines button assigned to command. You may see what button is it in file rm-1500.rci or similar in your Creative directory (Keyname)

Notification=...perhaps it changes the way how the data are send to application. I dont understand to this so much but you can read:

http://forums.americas.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=8151

KeyName= ... whatever you want to display on screen when press button on your remote control

KeyEventRemap=...it is so-called WParam (as it uses Girder - software useful for remote controllers). You can find this number by Girder (I have older version 3.2.9) by this way:

Start Girder, Right click on the left white rectangle and select Add command, right bottom select Command, then Capture (this open new window for capturing commands). Run for example Winamp and then in Girder click Start Capture. Goto Winamp and select what you want (for example play) - but better than by clicking on the icons will be do it by context menu or by key-shortcuts. Goto Girder and Stop Capture, now you can explore what was captured, find Command in Type culumn and note Wparam - this is your KeyEventRemap.

HandleByApp=...I don't know what this does.

Location and name of the .key file: The .key file for your specific application must have name that can be seen in Window Class culumn in Girder and must be in the same directory as other .key files. This is the way how remote control know where to send commands.

Winamp problems:
I have also problems with controling Winamp (5.111) but Keyevents on this page and the same that can be obtained with Girder are rights. The problem is that when I start Winamp with remote control (by pressing start\windows applications support\Winamp), the remote control is foccused on playlist and not on main Winamp window. This can be overcome by starting winamp manually and after that start remote control (by pressing start\windows app...). RC is then focused on main Winamp window. This work but I don't know why :-).

Finally: Creative support is realy, realy weak. It is horrible. (Almost same as my English but I will learn better, promise...)

superklye
01-26-06, 03:48 PM
Don’t worry about your English, it was very understandable…thanks.  And thanks for your research into this.

I don’t have time to peruse everything in this post or the rest of the thread, but is there a way to change how fast the FWD and RWD buttons go? I’ve been using the Entertainment Center a LOT more recently and I’m watching some shows that aren’t broken down with chapters. The opening credits are like 2 and a half minutes long and REALLY obnoxious, so I’d like to skip them, but the fast forward button skips ahead like 3 minutes for every second that it’s going forward! Whatever happened to like 10 second intervals?!

So do you know if there’s a value that can be changed to make the amount of time skipped much slower? Or is that something controlled by an aspect of the actual Entertainment Center?

enchekere
02-01-06, 08:22 PM
Originally Posted by pivoj13
This can be overcome by starting winamp manually and after that start remote control (by pressing start\windows app...)

When I pressed the start button, the entertainment center will be launch and I cannot choose which program to launch. Can someone help me?

superklye
02-01-06, 08:37 PM
Well, an udpate to my question about the speed of fast forwarding...apparently, that's determined by the media. I was watching an episode of The Wire in DivX AVI and it skips ahead in 2:30 intervals. However, when I put a DVD in, it went in 1 second intervals and wouldn't go faster.

I wish there was a bit more control over that. :-\

Eichhoernchen19
10-13-06, 05:37 AM
Hey,

sorry to dig out this old topic but I think I found something out, that hasn't been said yet.

So look:

KeyName=Just a Name
Notification=either 1,2,3,4
KeyEventRemap=The content
HandleByApp=Did not see any effects

Notification describes the way the Infromation is send.
In Windows programs can communicate through window messages,
And the Notification represents the message you are using.

So
0, 1, 2 = WM_COMMAND
3 = WM_SYSCOMMAND
4 = WM_INFRA_IO (I figured out it is: 49408 (It could change see RegisterWindowMessage))

So Different Programms need different Message types,
for example Winamp reacts on WM_COMMAND, so you have to set Notification to 0, 1 or 2.

But within 0, 1 or 2 is another differenc...
if you use 2, the Conent of the Message, the so called WParam is what you entered at KeyEventRemap.
If you use 1, the Content is KeyEventRemap+65536
If you use 0, it is the same as with 2 (maybe there is another difference I did't find out yet)

ajlaird
09-04-08, 10:28 AM
Hey all,
Great work on the rm-1000 remapping.
I've got a couple questions to get me started.
I understand most of this work took place as much as 4 years ago and hopefully someone still has the information to help me out.

I'm working on getting both PowerDVD and MediaSource to work with all / most of the buttons on the remote.

So far no luck.

My questions are as follows:

1. Do the remapping values need coppied out of the .key file in the keyMap folder into the .rci file in the RCRx folder?

2. Do I need to restart the computer or restart the capture software to get my changes to take affect.

3. How does creative know which program to associate the key pressed with. If the answer is it checks which program is active and then looks up the .key file for that program, how does creative assocaite a .key file with an application? Could my problem be that the .key file does not have the right application name in it?

4. I understand most of the KeyEventRemap values that are 1 or 2 digits long (38 for example), but how do the 6 digit values work (131109 for example).

I have tried to copy and paste the PowerDVD.key file and CTCMS.key files on this forum into my key files and experience no changes.

Thanks for your help!

Valmighty
09-18-08, 10:11 PM
hey, i have some questions, please help:
1. how do you add a new program that is not listed in the directory?
2. the remote doesn't work with programs that runs in background, for example WMP when minimized to taskbar and windows media center. i love to use windows media center to play movie in my extended desktop, but it can't be used when the movie is playing coz the player is in the background then. can it be fixed?
I noticed something wierd about this remote. It uses standard ASCII. My media player has to be in the main focus. For example, if I am listening to music and in my broswer (FF). The previous and next key scrolls the window lol.
yes, just like this.

t3hl33td4rg0n
09-21-08, 01:18 AM
Its possible for any application that supports multimedia keys... Unfortunately I spent hours googling a list of all virtual keycodes because that is what the remote uses, including the values used by multimedia keys, but never found anything... Then I spent a few more hours looking for a program that would output the virtual key code value, and still no luck.

Basically, if you can find the virtual key codes for multimedia keys, then theoretically it should work. With the multimedia keys, media players should still be able to pick up the button pressing regardless of whether they have focus or not, but I could be wrong... Although, it may not work in Vista because that it one of the issues I ran into with media players... Even though multimedia keys work perfectly fine in XP/2000 with my media player (regardless of whether the app has focus or not) it never worked in Vista.

I pretty much gave up this project after i found that the remote wouldn't work with nStant Media, which i use alot.

If you search around the creative forums, there is some useful remote programming tips and some guy selling an app that configures the remote for you, but good luck getting any further :)