in another subject, i told about my problem to create an universal keyboard-controller for mac, win and lin.
http://www.purebasic.fr/english/viewtop ... =7&t=46963
there is no repsonce till now.
my current solution is working with scancodes. i have a solution only on windows. is there any way to get the scancode in mac and linux too?
the current code i use, works on windows with wm_keydown, wm_syskeydown, wm_keyup, wm_syskeyup. i need a similar way on mac and linux.
the second problem is, the scancode-stuff is organized by rows and columns, so i informed myself via google. i am not sure, if the current scancode-layout is unique on all keyboards. i know, that there are differences between an pc-keyboard and on a mac. but i am not sure, how much the difference is.
i know that there are lot of keyboards with futher functional keys. but their are not important. its enough to me, if i can use the F1-F12, PRINT, PAUSE/BREAK, INSERT, DELETE, BACKSPACE, ENTER, HOME, END, PAGE_UP, PAGE_DOWN, UP, DOWN, LEFT, RIGHT, SPACE, CTRL, SHIFT, ALT, CAPSLOCK, NUMLOCK, TAB, ESCAPE and the keymap keys based on a language-layout.
This works fine on windows with my laptop keyboard and my external logitech keyboard. but i need a way to do it also on mac and linux.
have someone an idea how to do it?
kurt
