diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-11 16:58:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-11-11 16:58:47 +0000 |
commit | 712a9945c394f86544b3d056ae6ec1fe51077a5b (patch) | |
tree | 851401b89f5c9888804ddf1a04756ad9f2775ebb /sys | |
parent | 4b24f674c5fa62ea0215199ce4c4cb6c7169e914 (diff) |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/zaurus/dev/zaurus_kbd.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <drahn@openbsd.org> * @@ -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 |