Support and General Use > User Interface and Voice

Bring back the button mapping of the OFW in iPod Video

<< < (5/6) > >>

AlexP:

--- Quote from: INGRAMLI on February 03, 2009, 05:39:35 PM ---I tried to understand what is being said in the keymap-ipod.c, but i cant find those code/definitions ...for instance, what is  meant by "BUTTON_REL"? and what is "static const struct button_mapping button_context_keyboard"?The whole file seems to be a whole brunch of codes rather than a ini file that could be understood in the Windows ???

--- End quote ---

Why is Windows relevant at all?  You are looking in a Rockbox source file.  Try looking at the example keymap in that folder, it explains what some of it does.

INGRAMLI:

--- Quote from: BigBambi on February 03, 2009, 06:05:39 PM ---
--- Quote from: INGRAMLI on February 03, 2009, 05:39:35 PM ---I tried to understand what is being said in the keymap-ipod.c, but i cant find those code/definitions ...for instance, what is  meant by "BUTTON_REL"? and what is "static const struct button_mapping button_context_keyboard"?The whole file seems to be a whole brunch of codes rather than a ini file that could be understood in the Windows ???

--- End quote ---

Why is Windows relevant at all?  You are looking in a Rockbox source file.  Try looking at the example keymap in that folder, it explains what some of it does.

--- End quote ---
example keymap in which folder?i cant really see it, and the name of this file is?

saratoga:

--- Quote from: INGRAMLI on February 03, 2009, 11:45:02 PM ---
--- Quote from: BigBambi on February 03, 2009, 06:05:39 PM ---
--- Quote from: INGRAMLI on February 03, 2009, 05:39:35 PM ---I tried to understand what is being said in the keymap-ipod.c, but i cant find those code/definitions ...for instance, what is  meant by "BUTTON_REL"? and what is "static const struct button_mapping button_context_keyboard"?The whole file seems to be a whole brunch of codes rather than a ini file that could be understood in the Windows ???

--- End quote ---

Why is Windows relevant at all?  You are looking in a Rockbox source file.  Try looking at the example keymap in that folder, it explains what some of it does.

--- End quote ---
example keymap in which folder?i cant really see it, and the name of this file is?

--- End quote ---

"keymap-newtarget.c"

(took me 10 seconds to spot looking at the folder you described.  Next time check before asking)

INGRAMLI:

--- Quote from: saratoga on February 03, 2009, 11:57:01 PM ---
--- Quote from: INGRAMLI on February 03, 2009, 11:45:02 PM ---
--- Quote from: BigBambi on February 03, 2009, 06:05:39 PM ---
--- Quote from: INGRAMLI on February 03, 2009, 05:39:35 PM ---I tried to understand what is being said in the keymap-ipod.c, but i cant find those code/definitions ...for instance, what is  meant by "BUTTON_REL"? and what is "static const struct button_mapping button_context_keyboard"?The whole file seems to be a whole brunch of codes rather than a ini file that could be understood in the Windows ???

--- End quote ---

Why is Windows relevant at all?  You are looking in a Rockbox source file.  Try looking at the example keymap in that folder, it explains what some of it does.

--- End quote ---
example keymap in which folder?i cant really see it, and the name of this file is?

--- End quote ---

"keymap-newtarget.c"

(took me 10 seconds to spot looking at the folder you described.  Next time check before asking)

--- End quote ---
i can find this document, but it does not give explanation on the code that i asked above in plain language, for instance,

#include "config.h"
#include "action.h"
#include "button.h"

".........In ../action.h there is an enum with all the used ACTION_ codes......"
what is "enum"? and like this one,

"static const struct button_mapping button_context_standard"
i have totally no idea what does it mean, please, i want some explanations that can be read by non-programmers  :'(

GodEater:
There are no explanations that can be read by non-programmers, since what you're doing by editting that file is called "programming", which makes you a programmer.

What I understand from your posts is that you have no experience of C - and therefore need to go and read up on it. The Rockbox forums are not the place to teach you the basics of C programming. We can help with Rockbox specific stuff - but the questions you're asking are extremely basic - not specific to Rockbox yet.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version