You are not logged in.

#1 2013-04-02 19:51:43

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

[SOLVED] Vitetris Keyboard Controls stuck

Using the latest vitetris package (upstream and in-AUR), the game runs beautifully. However, it is convinced that I am constantly pressing either the left or right arrow keys.. I explored customizing the keyboard shortcuts, but I haven't found anything that suggests I could disable the default arrow keys in-favor of vi-like h,j,k,l for instance.

I also have no idea what is causing this, the build runs fine without any errors and I have seen no one else mention this issue before.

Any thoughts on what the problem could be? Is anyone else experiencing this same issue (and, if so, have you found a solution)?

All the best,

-HG

Last edited by HalosGhost (2013-04-10 22:03:04)


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Online

#2 2013-04-04 09:00:10

Ether
Member
Registered: 2013-04-04
Posts: 3

Re: [SOLVED] Vitetris Keyboard Controls stuck

Same thing happens to me, it's like the left arrow is pressed all the time. I hope someone knows how to fix it sad

Offline

#3 2013-04-04 19:37:13

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] Vitetris Keyboard Controls stuck

I really just wish I knew what was causing it. I don't experience this issue with any other game. Ether, can I ask what WM/DE and what terminal you use?

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Online

#4 2013-04-05 05:06:06

Ether
Member
Registered: 2013-04-04
Posts: 3

Re: [SOLVED] Vitetris Keyboard Controls stuck

I'm using xfce4 with xfwm4, the terminal I think is xfce4-terminal.

Offline

#5 2013-04-05 08:10:35

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] Vitetris Keyboard Controls stuck

Ether wrote:

I'm using xfce4 with xfwm4, the terminal I think is xfce4-terminal.

Well, that's an entirely separate setup from what I have. And I just tested a couple different terminal emulators on my own setup to see if they would make a difference, and they do not. I wonder, do you use XCompose?

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Online

#6 2013-04-10 21:26:51

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] Vitetris Keyboard Controls stuck

Well, it seems as though, on occasion, the problem doesn't occur. That is, the issue of keyboard input becoming "stuck" is intermittent. However, some issues that I believe may be related (the pause button failing to work correctly, for instance) appear to remain constant.

Is anyone else still having this problem? Has anyone found a solution or workaround?


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Online

#7 2013-04-10 21:58:06

08993
Member
Registered: 2013-02-27
Posts: 7

Re: [SOLVED] Vitetris Keyboard Controls stuck

You need to disable joystick input

# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=vitetris
pkgver=0.57
pkgrel=1
pkgdesc="A terminal-based Tetris clone with 2-player mode."
arch=('i686' 'x86_64')
url="http://victornils.net/tetris"
license=('BSD')
depends=('ncurses')
makedepends=('patch')
options=(!makeflags)
source=(http://victornils.net/tetris/$pkgname-$pkgver.tar.gz \
        $pkgname-makefile.diff)
md5sums=('07d02ee03e2edd66a8741729e237f21f'
         '5510adbb8ff3153466aa58c90d5765d8')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  patch -Np0 -i ${srcdir}/$pkgname-makefile.diff || return 1

#can be built without ncurses if you like
  ./configure --prefix=${pkgdir}/usr --docdir=${pkgdir}/usr/share/$pkgname --without-x --without-joystick --with-ncurses || return 1
  make || return 1
  make gameserver || return 1
  make install || return 1
  install -D -m755 gameserver ${pkgdir}/usr/bin/$pkgname-gameserver || return 1

#add a high score file:
  install -d -m775 ${pkgdir}/var/games/
  install -D -g games -m664 /dev/null ${pkgdir}/var/games/vitetris/hiscores || return 1

#license
  install -D -m644 licence.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
}

Offline

#8 2013-04-10 22:02:49

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] Vitetris Keyboard Controls stuck

08993 wrote:

You need to disable joystick input

Oh my lord. I love you. Genuinely, this has been one of the most annoying issues I've had for a long while now… You are my favorite person right now.

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Online

#9 2013-04-12 11:01:13

Ether
Member
Registered: 2013-04-04
Posts: 3

Re: [SOLVED] Vitetris Keyboard Controls stuck

Thank you! Works perfectly now.

Offline

#10 2013-06-26 19:05:49

print
Member
From: teh cloud
Registered: 2007-02-27
Posts: 172

Re: [SOLVED] Vitetris Keyboard Controls stuck

YAAY YAAY YAAAAAAAAAAAAAAAAAY!

You are the man.


% whereis whatis whence which whoami whois who

Offline

Board footer

Powered by FluxBB