David, The only modification to XASTIR was to uncomment the #define tag for the small screen options before compiling. Here is a message from the archives explaining it in a little detail with a screenshot: http://www.mail-archive.com/[email protected]/msg00163.html
The LCD7 input is seen as a one-button mouse by the BBB. With the exception of the mouse button swap defined in the source it acts no differently than with a normal mouse. I used the normal make, make install. In case someone hasn't went looking for it, for reference I have copied the following relevant section from main.c starting at line 233: // This one goes right along with smaller system fonts on fixed-size // LCD screens. Fix new dialogs to the upper left of the main // window, don't have them cycle through multiple possible positions // as each new dialog is drawn. // //#define FIXED_DIALOG_STARTUP // Yet another useful item: Puts the mouse menu on button 1 instead // of button3. Useful for one-button devices like touchscreens. // //#define SWAP_MOUSE_BUTTONS // If next line uncommented, Xastir will display the status line // in 2 rows instead of the normal single row. Formatted especially // for 640 pixel wide screens. It also gives a little extra room for // the number of stations and the Zoom factor. // #define USE_TWO_STATUS_LINES // Enable this next line to set all flags properly for a 640x480 // touch-screen: Makes the main window smaller due to the reduced // font sizes, makes all dialogs come up at the upper-left of the // main Xastir screen, reverses buttons 1 and 3 so that the more // important mouse menus are accessible via the touch-screen, and // sets it for 2 status lines. Make sure to change the system font // size smaller than the default. // //#define LCD640x480TOUCH // #ifdef LCD640x480TOUCH #define FIXED_DIALOG_STARTUP #define SWAP_MOUSE_BUTTONS #define USE_TWO_STATUS_LINES #endif Brett KQ9N On Mon, Oct 21, 2013 at 6:31 PM, David Ranch <[email protected]> wrote: > > Hello Brett, > > Congratulations on getting that going and posting the news to the list. I'm > curious, did you modify Xastir to natively support the touch screen or is it > more like a classic mouse behavior? Also, when you compiled things up.. did > you build things into their respective .debs or did you just do a "make; > make install"? > > --David > KI6ZHD _______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
