On 06.12.2012 17:58, Patrick wrote: > I made my own keyboard in Linux by altering configuration files. keys > like QWERTY map to underlying identifications that can be assigned to a > different map.
Thanks for your reply, but this is not my problem. It's really the hardware that I need, and then to use it with FLTK. What I'd like to have is (as I wrote before) a small keyboard that makes it easy to locate about 20-40 keys blindly... > Did you want the keys to type a different character only while in a FLTK > app ? This is my case and I have to work through it. Yes - and no ;-) Yes, because it's only to be used with this one application, but no, because there are no "characters" involved. You can think of buttons with shortcuts, or 40 function keys (F1 - F40), or something like that. I'm planning to create my own widget (or an entire app with one window) that shows a few buttons to start counting, stop counting, set parameters, and so on. But after starting, each key on the special keypad shall only count one particular item, maybe with shift or another modifier to reverse counting (subtract one item). This would be easy for me, and in fact I could do it with the normal keyboard by using the alpha-numeric keys and/or the numeric keypad, just by using a widget's handle() method to increment one array element for each key press... But the demand is not to use the normal keyboard, but one that is easier to use blindly with one hand (left or right), if such a keyboard exists and can be used with FLTK. That's why I'm asking here for FLTK experiences with such special hardware. Someone else is also trying to find such a keyboard by internet search and such... > I work with scientific instruments. I have been teaching myself to > program for 8 years to move the business towards selling software to > control scientific instruments. Your project sounds interesting. Are you > colony counting? It's not colony counting (if I understand that term correctly), it's counting of different blood cells or cells or whatever in urine. But this is probably a similar problem (using a microscope and counting...). > I looked into a keyboard with LCD keys but it was >$1K. That's bad, but maybe not necessary, if it's that expensive. > What about creating an application that uses a touchpad. My main concern > with this, would be the difficulty in locating the parts of the screen > to push. Perhaps a plastic mask could be applied over the touchscreen > that might even have braille like protrusions. Hmm, maybe. Interesting idea, but touching a touchpad might be more difficult WRT feedback than pressing a key. Beeping for feedback instead might be too annoying. But anyway, interesting. Thanks. > My interest in this is for my son who was autism and a severe speech > delay. I believe that the English language's defective spelling system > is complicating the recovery of people suffering from autism. Many can > read quite well but struggle with speech. I am hoping to make a program > for him that will show pictures, how they are spelled and then will > prompt him to type a phonetic representation so he can practice > organizing the sounds in a visual way > > I move very slowly but I can offer 40-100 hours of work over the next 3 > months if there is something that will lead us both to a solution. Thanks for the offer, but I'm not looking for help in programming. However, if you need help with designing / writing a specialized widget within FLTK (mapping key events to whatever function or callback), feel free to ask in fltk.general as well. I'm most of the time reading it, and others can help you as well. I'm thinking of solving your key problem w/o mapping keys in Linux, since this wouldn't be portable, whereas a direct FLTK solution would be. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

