From owner-freebsd-drivers@FreeBSD.ORG Fri Dec 12 01:59:40 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC55BDBA for ; Fri, 12 Dec 2014 01:59:40 +0000 (UTC) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6BD447DF for ; Fri, 12 Dec 2014 01:59:40 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id ms9so5328993lab.38 for ; Thu, 11 Dec 2014 17:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vASR1cqaxMGMdyZ6VFxvqaif1SzqoVznLMshdO3N2mk=; b=PVrwwsbUEpKzUuEJasOUr5/hgAzeLbv/fXl9/7cECn10LN8b5AR0OIiiBgF4/8IoEG tArNcp+0NqK8wMeIknSF9aet2UlOcztOAMwgHu48hiunNVUPLfTMUuNMVsXhRYgkZ2kE rEJi1X3fcZS6MFE472OqVoYAr4fX2Ea7H1iMOZfBTVPEb4uCYkA5eY0YAF9RLoyk1LNv xKwpwefT026GM6Qa7ZX6GmQp0kw4vLnAbSYnDOGRPv21RS1TRGuNngbTjNIJzS0YfJb6 1kN63R7xPgJRIy2bWw1rog3z0ly2QWuotPSmSrN5QG3GYg0BVtnTG7jrbcfNSEKPw37Q +BBQ== MIME-Version: 1.0 X-Received: by 10.152.5.198 with SMTP id u6mr13221921lau.42.1418349578452; Thu, 11 Dec 2014 17:59:38 -0800 (PST) Received: by 10.114.184.115 with HTTP; Thu, 11 Dec 2014 17:59:38 -0800 (PST) Date: Thu, 11 Dec 2014 18:59:38 -0700 Message-ID: Subject: Reading kernel input events From: Ales Katona To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2014 01:59:40 -0000 Hello, I'm trying to help port wayland's libinput library to FreeBSD and I'm currently trying to figure out how to get input device events from the kernel. Basically, what interface/api would I need to use to read events similar to evdev? Thanks, Ales Katona -- Feel the power of Opensource. Feel the power of Free Pascal.