From: srs5694 Date: Mon, 3 Oct 2016 19:30:57 +0000 (-0400) Subject: Added documentation for new enable_touch support. Also tweaked inclusion X-Git-Url: https://code.delx.au/refind/commitdiff_plain/433d93ad78d6b1947938be72f248e03833943847?hp=dd910ca40c3ea630983ad18cf1a23e0afe38ffe9 Added documentation for new enable_touch support. Also tweaked inclusion condition for EfiLib/AbsolutePointer.h, since the latest GNU-EFI seems to include equivalent definitions. --- diff --git a/NEWS.txt b/NEWS.txt index 219353a..807e198 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -1,6 +1,15 @@ 0.10.4 (?/??/2016): ------------------- +- An anonymous contributor has provided support for touch screens. This + support requires that the "enable_touch" token be used in refind.conf. + Note, however, that not all tablet computers have EFIs that provide the + necessary support in the firmware. + +- Martin Whitaker contributed 64-bit support to the ext4fs driver, which + makes it compatible with ext4fs as written by some recent Linux + distributions. + - Tweaked refind-install to do a better job of detecting disks other than /dev/sd? and /dev/hd? devices. diff --git a/docs/refind/configfile.html b/docs/refind/configfile.html index 7191808..4c3d9d2 100644 --- a/docs/refind/configfile.html +++ b/docs/refind/configfile.html @@ -309,6 +309,11 @@ timeout 20 one or two integer values Sets the video resolution used by rEFInd; takes either a width and a height or a single UEFI video mode number as options. For instance, resolution 1024 768 sets the resolution to 1024x768. On UEFI systems, resolution 1 sets video mode 1, the resolution of which varies from system to system. If you set a resolution that doesn't work on a UEFI-based system, rEFInd displays a message along with a list of valid modes. On an system built around EFI 1.x (such as a Mac), setting an incorrect resolution fails silently; you'll get the system's default resolution. You'll also get the system's default resolution if you set both resolution values to 0 or if you pass anything but two numbers. (Note that passing a resolution with an x, as in 1024x768, will be interpreted as one option and so will cause the default resolution to be used.) If you get a higher resolution than you request, try commenting out or changing the textmode value, since it can force the system to use a higher graphics resolution than you specify with resolution. Also, be aware that it is possible to set a valid resolution for your video card that's invalid for your monitor. If you do this, your monitor will go blank until you've booted an OS that resets the video mode. + + enable_touch + none or one of true, on, 1, false, off, or 0 + Enables support for touch screens (as on tablets). Note that not all tablets provide the necessary support. If this feature is enabled and the tablet supports it, touching an OS or tool should launch it or enter a submenu. In a submenu, it is currently not possible to select a specific item; any touch will launch the default submenu option. + use_graphics_for osx, linux, elilo, grub, and windows diff --git a/refind.conf-sample b/refind.conf-sample index bbdc904..33f2db2 100644 --- a/refind.conf-sample +++ b/refind.conf-sample @@ -139,6 +139,16 @@ timeout 20 #resolution 1440 900 #resolution 3 +# Enable touch screen support. If active, this feature enables use of +# touch screen controls (as on tablets). Note, however, that not all +# tablets' EFIs provide the necessary underlying support, so this +# feature may not work for you. If it does work, you should be able +# to launch an OS or tool by touching it. In a submenu, touching +# anywhere launches the currently-selection item; there is, at present, +# no way to select a specific submenu item. +# +#enable_touch + # Launch specified OSes in graphics mode. By default, rEFInd switches # to text mode and displays basic pre-launch information when launching # all OSes except OS X. Using graphics mode can produce a more seamless diff --git a/refind/menu.h b/refind/menu.h index e5d02fb..1ce1ce9 100644 --- a/refind/menu.h +++ b/refind/menu.h @@ -48,12 +48,15 @@ #ifdef __MAKEWITH_GNUEFI #include "efi.h" #include "efilib.h" -#include "../EfiLib/AbsolutePointer.h" #else #include "../include/tiano_includes.h" #endif #include "global.h" +#ifndef _EFI_POINT_H +#include "../EfiLib/AbsolutePointer.h" +#endif + #include "libeg.h" //