XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2003-10-29, 02:04   #1
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

after making the discovery this morning that the xbox accepts remote button codes other than the 27 or so buttons on the ms remote, i think that implementing an xml sheet that can be used to map buttons (both on the remote and controller) to actions is something that should be looked at.

my current thinking is to have a bunch of actions defined and the config file then basically lists the actions and the buttons associated with that action.

this will require a well defined set of actions and modes in order to implement well. my current thoughts are that there should be a set of default or global actions that apply throughout, which can possibly be overridden, or reassigned in the different gui modes. things such as the arrow keys (move left, move right, select) etc. could be defined in the global or default section, and are then not needed to be defined in all of the various modes.

the modes i can think of straight off are:

gui
movie
music visualisation

others may include (for instance)
playlist
dvd menu

etc. etc.

the file might perhaps look something like:
Quote:
<global>
<action>
<description>moveleft</discription>
<id>0</id>
<controller>dpad_left</controller>
<remote>left</remote>
<remotecode>86</remotecode>
</action>
...
</global>

<mode>
<description>gui</description>
other actions associated only with the gui mode
</mode>

other modes go here
we could allow multiple <contoller> or <remote> tags for each action. the <remotecode> tags simply allow the user to define a specific remote obc code for the action (86 is the obc code for left on a remote with the rc5 protocol)

i'd be interested in what other devs think, as well as what other users think. perhaps between us we can define a comprehensive + forward looking set of actions and modes so that this can be implemented in the best ways possible.

imo all this is a setup once type of thing, so an xml file would be best, but there is nothing to stop having this alterable from within the gui - other than the possibility of the user stuffing something up and not being able to change it back due to the select key no longer being functional!

cheers,
jonathan
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Old 2003-10-29, 02:43   #2
pike
Project Manager
 
pike's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 4,281
pike is on a distinguished road
Send a message via MSN to pike
Default

quick comments, more will follow later:

xbox remote mapping:
================
menu key: triggers back to rootmenu when you are in my videos/music/pictures/settings/etc
display key: is used to toggle between video/ui & visualizations/ui
info key: is used to show some sort of osd info when video/visualizations are active
__________________
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first.


pike is offline   Reply With Quote
Old 2003-10-29, 08:02   #3
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

keymapping is on my 2do list
but if you wanna start with it, please be my guest
since i got zillion other things left on my 2do list

frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2003-11-20, 14:07   #4
onkel bouncy
Senior Member
 
Join Date: Oct 2003
Posts: 159
onkel bouncy is on a distinguished road
Default

yes.
i hope that there are some changes on the rc-keys by default.
it's not very logically to select files with the play-button and play files with the select-button.
perhaps it's better to have the playlist on the menu-button and the vis on the display-button.

simply changing this buttons is hopefully not to hard.
onkel bouncy is offline   Reply With Quote
Old 2003-11-20, 22:19   #5
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,077
jmarshall is on a distinguished road
Default

onkel bouncy:

if you come up with a better keymap.xml file (which can already change all this) that you think should be the default behaviour, please let us know so that others can test it out and decide which is the most optimal setup.

thanks,
jonathan
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Old 2003-11-21, 13:08   #6
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Question

Quote:
Originally Posted by (jmarshall @ nov. 20 2003,20:19)
if you come up with a better keymap.xml file that you think should be the default behaviour, please let us know
if anyone decide to submite this please make based on the original dvd-remote from microsoft, as most popular remote
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Gamester17 is offline   Reply With Quote
Old 2003-11-21, 15:06   #7
onkel bouncy
Senior Member
 
Join Date: Oct 2003
Posts: 159
onkel bouncy is on a distinguished road
Default

Quote:
Originally Posted by (jmarshall @ nov. 20 2003,20:19)
juncy:

if you come up with a better keymap.xml file (which can already change all this) that you think should be the default behaviour, please let us know so that others can test it out and decide which is the most optimal setup.

thanks,
jonathan
ok, i will see what i can do better.
:d

this evening i will first upload a new german language file from a guy called darkzone.
i've to improve it first.
onkel bouncy is offline   Reply With Quote
Old 2003-11-23, 01:36   #8
onkel bouncy
Senior Member
 
Join Date: Oct 2003
Posts: 159
onkel bouncy is on a distinguished road
Default

ok, i had a look inside the keymap.xml and found out that i can use a function double allocated.
nice.
for 'next picture' i can use 'skipplus' an 'right' on the rc.
the zoom-function uses also 'right' (functioned then no more) so it would be nice to have seperate key-layouts for some functions like zoom.

second i want to use the select-button in my files to select files (instead of play), but it's already used to go inside a dir.
so i can't change it.
it must be checked by xbmp if it's a dir or a file.
onkel bouncy is offline   Reply With Quote
Old 2003-11-23, 11:04   #9
san9jay
Senior Member
 
Join Date: Oct 2003
Posts: 152
san9jay is on a distinguished road
Default

why not set the defaults to use the same as what was setup for xbmp. i think as a starting point the xbmp remote setup was pretty good.
__________________
+-------------------------------------------------------------------------------+
| xbox1: v1.1, samsung dvd,120 gb hd,x-ecuter pro 2.2,xbmc
| xbox2: v1.2, phillips dvd, retail hd, tsop, avalaunch, xbmc
| xirremote, x2_4977, media center utils
san9jay is offline   Reply With Quote
Old 2007-01-23, 21:40   #10
ragawu
Junior Member
 
Join Date: Jan 2007
Posts: 18
ragawu is on a distinguished road
Post What support for learning controls?

Quote:
Originally Posted by jmarshall View Post
after making the discovery this morning that the xbox accepts remote button codes other than the 27 or so buttons on the ms remote, i think that implementing an xml sheet that can be used to map buttons (both on the remote and controller) to actions is something that should be looked at.
Has anyone looked into how many different codes are available, and if any "learning" remote controls can be used to utilize them? Is XBMC already coded to take advantage of this?

According to this post the XBOX DVD Remote sends out standard RCA signals.
http://www.xboxusersgroup.com/forums...php/t-827.html

I know on linux many things can be done with LIRC and different remotes, however I'm looking to do this with the M$ kernel. I'm seriously looking into PVR functionality for XBMC, and what is possible.

XDK Docs seem fairly useless on this, as to be expected.
ragawu is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text-Input via DVD-remote numeric buttons jcee XBMC for Windows Specific Support 29 2008-07-13 04:11
Picture Zoom buttons on remote. HeeD XBMC Feature Suggestions 2 2004-01-20 20:12
Picture Zoom buttons on remote. HeeD XBMC for Xbox Specific Support 2 2004-01-20 20:12
Text-Input via DVD-remote numeric buttons BurZum XBMC Feature Suggestions 4 1970-01-01 02:00


All times are GMT +2. The time now is 12:21.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project