View previous topic :: View next topic |
Author |
Message |
j3rm Tux's lil' helper
Joined: 19 Jun 2002 Posts: 148 Location: Tennessee
|
Posted: Wed Jun 25, 2003 11:38 pm Post subject: X idle and joysticks |
|
|
ok, i have epsxe running and i'm playing with my usb joystick, and every 10 minutes my screensaver comes up because X has been idle. is there a way to make my usb joystick reset X's idle timer so i don't have to put down my joystick and move my mouse when the screensaver comes up? (i know i could just turn the screensaver off, but i'd like to get this to work if i can) _________________ "We can't run from who we are, our destiny chooses us."
-- Professor Petrovsky ("Rounders") |
|
Back to top |
|
|
catzooka Apprentice
Joined: 05 Nov 2002 Posts: 193
|
Posted: Thu Jun 26, 2003 1:40 am Post subject: |
|
|
yeah, im having the same problem here, and really also would like to see a solution to this. i don't know if this helps any, but, for example, i know that mplayer has the option to stop xscreensaver from starting while a movie is playing, which is really nice since you don't have to move you mouse every X minutes to stop your screensaver from starting. i'd wish i wasn't as tired as im right now so i could maybe take a look at the mplayer source and see if i can find a solution, but if anybody is working on this or wants to, maybe that option in mplayer is a good place to start with. aright then, g'nite |
|
Back to top |
|
|
j3rm Tux's lil' helper
Joined: 19 Jun 2002 Posts: 148 Location: Tennessee
|
Posted: Thu Jun 26, 2003 1:41 pm Post subject: |
|
|
i noticed that about mplayer as well. going through mplayer's source code would be pretty monotonous, but that is an option. i tried looking in X's man page for any hints, with no success. i did have an idea that may work, but i doubt it. what if there was an InputDevice entry in XF86Config for the joystick?
also, gaim has something that may be of some use. you can set gaim to go away when you've been idle for a certain amount of time. the way gaim determines how long you've been idle is either by X usage or gaim usage. fishing through that source code is also an option maybe. _________________ "We can't run from who we are, our destiny chooses us."
-- Professor Petrovsky ("Rounders") |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sat Apr 10, 2004 3:05 am Post subject: |
|
|
Sorry to bump such an old thread, but this would be reaaaally handy |
|
Back to top |
|
|
mlsfit138 Guru
Joined: 20 Sep 2003 Posts: 406 Location: Washington
|
Posted: Fri May 28, 2004 12:11 am Post subject: |
|
|
El_Presidente_Pufferfish wrote: | Sorry to bump such an old thread, but this would be reaaaally handy |
my god! no answer still eh? what do all of you gamers do? I agree though, there is probably a way to enter your joystick/ gamepad into your xconfig _________________ "Everytime you justify
another good in you dies"
-Converge, The Saddest Day, Petitioning the Empty Sky |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Wed Mar 16, 2005 5:46 am Post subject: |
|
|
bump again, ive run into this problem playing stepmania with my joystick. gets annoying when ur in the middle of a nice long 150+ combo and BAM ur xscreensaver fades in and ur sitting there screaming NOOO!!!!!!!. then u frantically type ur pass in, and by the time ur back in, u lost the combo and ur meter is in the red zone. _________________ John5788 |
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Mon Mar 21, 2005 11:32 pm Post subject: |
|
|
You could write a little game script that runs your games for you, so nothing will blank
Code: | #!/bin/sh
xset s noblank
xset s off
xset -dpms
xscreensaver-command -exit
${1}
xset dpms
xscreensaver-command -restart |
Something like that... _________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
|
Bigun Advocate
Joined: 21 Sep 2003 Posts: 2196
|
Posted: Mon Oct 03, 2005 1:11 am Post subject: |
|
|
Perhaps there is a way for X to directly use joystick input to reset the screensaver timer?
Forgive me, but I don't want to script every game emulator I have. _________________ "It's ok, they might have guns but we have flowers." - Perpetual Victim |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Sat Jul 29, 2006 12:42 pm Post subject: |
|
|
up! |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sat Jul 29, 2006 12:50 pm Post subject: |
|
|
i've been using qjoypad to map my gamepad buttons to mouse/keyboard
works for me. |
|
Back to top |
|
|
Cagnulein l33t
Joined: 18 Sep 2003 Posts: 861 Location: Modena, Italy
|
Posted: Sat Jul 29, 2006 1:07 pm Post subject: |
|
|
Ehm...yeah it works fine! |
|
Back to top |
|
|
|