From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WrSd6-0008F2-7D for mharc-grub-devel@gnu.org; Mon, 02 Jun 2014 09:50:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrScv-0008Do-Ff for grub-devel@gnu.org; Mon, 02 Jun 2014 09:50:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrScm-0000Xe-Ey for grub-devel@gnu.org; Mon, 02 Jun 2014 09:50:13 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:43774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrScm-0000WD-6o for grub-devel@gnu.org; Mon, 02 Jun 2014 09:50:04 -0400 Received: by mail-la0-f53.google.com with SMTP id ty20so2618868lab.12 for ; Mon, 02 Jun 2014 06:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=8g/vO6wDKd41l61oANOAfCdPYZLjXjd0hyHecaAslkU=; b=BDzRvjpEJCWuKea4iNSibAcLuDmY+cRehlUQ3q51kDjnDJuWgBzXn3Q74vCyjT8ntI zIFyYIGYeKon+OqCoa/q1vwTIq7/GZHCiYKBGz7ITpzrFjTTi3zlVrtIshhlL5VOj+h0 E5sU75OjxsH2ZFJnNz8Ighrv9KgQGewYdEvN4XHUeH1i98FWOQeU9G5es9fc/zHgL5gd +ivFTwqTdqHCpqvR71Ji+9ra2EyI+otVi8OGO2HaThHzUDhdzO/vtxxATh/VX5VTJ+yo s2TXd0zMURqAmO/R7L2eE5TRtA+J0xb+/9MnE4ruKuDJHAoCmGotD4al1zY2UO/H7HgW nXVw== X-Received: by 10.112.143.132 with SMTP id se4mr2301391lbb.53.1401717002927; Mon, 02 Jun 2014 06:50:02 -0700 (PDT) Received: from opensuse.site (ppp37-190-15-130.pppoe.spdop.ru. [37.190.15.130]) by mx.google.com with ESMTPSA id an10sm11239466lac.4.2014.06.02.06.50.01 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Jun 2014 06:50:02 -0700 (PDT) Date: Mon, 2 Jun 2014 17:50:01 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: Where's the code for inputs in Grub? Message-ID: <20140602175001.355ac19c@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::235 Cc: legendary_bibo@hotmail.com X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 13:50:22 -0000 В Thu, 29 May 2014 09:24:13 -0600 Gerard Butler пишет: > I'm looking for the .c file that tells grub about how to handle keyboard inputs? I want to see if I can use that as a base to write a module to take input from game controllers. Look under grub-core/term. Your driver would need to implement function for getting keys and register itself with grub_term_register_input() so it becomes available for grub core.