From 712a9945c394f86544b3d056ae6ec1fe51077a5b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 11 Nov 2005 16:58:47 +0000 Subject: make power button cause suspend after .25 seconds (was 3 seconds) and safe-shutdown after 3 seconds (was 6 seconds) ok uwe semi-ok drahn we will see if anyone wants these numbers fudged more in the future --- sys/arch/zaurus/dev/zaurus_kbd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/zaurus/dev/zaurus_kbd.c') diff --git a/sys/arch/zaurus/dev/zaurus_kbd.c b/sys/arch/zaurus/dev/zaurus_kbd.c index 9b83459b19f..43190661da4 100644 --- a/sys/arch/zaurus/dev/zaurus_kbd.c +++ b/sys/arch/zaurus/dev/zaurus_kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zaurus_kbd.c,v 1.23 2005/05/25 07:29:17 drahn Exp $ */ +/* $OpenBSD: zaurus_kbd.c,v 1.24 2005/11/11 16:58:46 deraadt Exp $ */ /* * Copyright (c) 2005 Dale Rahn * @@ -446,8 +446,8 @@ extern int kbd_reset; extern int apm_suspends; static int zkbdondown; /* on key is pressed */ static struct timeval zkbdontv = { 0, 0 }; /* last on key event */ -const struct timeval zkbdhalttv = { 6, 0 }; /* 6s for shutdown */ -const struct timeval zkbdsleeptv = { 2, 0 }; /* 2s for deep sleep */ +const struct timeval zkbdhalttv = { 3, 0 }; /* 3s for safe shutdown */ +const struct timeval zkbdsleeptv = { 0, 250000 }; /* .25s for suspend */ #endif int -- cgit v1.2.3