Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

last-one-I-prommise markdown on README.md

  • Loading branch information...
commit 0087cf3a1772e1e1b7bfcb2197cc7dd91e1d9ac3 1 parent e35ed5f
Călin Ardelean authored

Showing 1 changed file with 13 additions and 12 deletions. Show diff stats Hide diff stats

  1. +13 12 README.md
25 README.md
Source Rendered
@@ -6,13 +6,14 @@ Yet another Fraps for Linux (name comes from "Frames & Actions Per Second", seri
6 6 Features
7 7 --------
8 8
9   -- launches a special process to listen raw key events on `/dev/input/eventX`
10   -- works with full screen SDL games which are known to grab the entire keyboard and make XGrabKey useless
11   -- during install key daemon is given capabilities with `setcap "CAP_DAC_READ_SEARCH+pe"` and does not require root access during operation
12   -- key deamon measures APM (actions per minute)
13   -- daemon communicates with main program through a fifo
14   -- daemon kills himself if client disconnects from fifo, no way to hang in the background
15   -- for FPS measuring the library uses `LD_PRELOAD` to hook the Xlib buffer swap function `glXSwapBuffers` (does not work with SDL, need better method)
  9 +- launches a special process `faps-daemon` to listen raw key events on `/dev/input/eventX`
  10 +- robustly detects all keyboard devices with `libudev`
  11 +- works with full screen SDL games which are known to grab the entire keyboard and make `XGrabKey` useless
  12 +- during install `faps-daemon` is given capabilities with `setcap "CAP_DAC_READ_SEARCH+pe"` and does not require root access during normal operation
  13 +- `faps-deamon` measures APM (actions per minute) based on the key press events from the last 10 sec (configurable), with a linear weighting applied (from 0 to 2)
  14 +- `faps-daemon` communicates with main program through a fifo
  15 +- `faps-daemon` kills itself if client disconnects from fifo, no way to hang in the background
  16 +- for FPS measuring the library `faps-lib.so` uses `LD_PRELOAD` to hook the Xlib buffer swap function `glXSwapBuffers` (does not work with SDL though, need better method)
16 17 - FPS and APM displayed in overlay
17 18 - screen & video capture not implemented yet
18 19
@@ -38,7 +39,7 @@ I will make an Arch AUR package when it's complete.
38 39 Hotkeys
39 40 -------
40 41
41   -- `Ctrl + F9 ` toggle FPS (frames per second) overlay
  42 +- `Ctrl + F9` toggle FPS (frames per second) overlay
42 43 - `Ctrl + F10` toggle APM (actions per minute) overlay
43 44 - `Ctrl + F11` start/stop video capture
44 45 - `Ctrl + F12` take screenshot
@@ -48,11 +49,11 @@ Usage
48 49
49 50 faps [faps arguments] program [program arguments]
50 51
51   -- `-u N ` FPS update interval in msec (default: 1000)
52   -- `-v N ` APM update interval in seconds (default: 1)
53   -- `-f N ` framerate limit in frames per second
  52 +- `-u N` FPS update interval in msec (default: 1000)
  53 +- `-v N` APM update interval in seconds (default: 1)
  54 +- `-f N` framerate limit in frames per second
54 55 - `-p 32` loads the 32 bit version of the library on a x86_64 system (eg: for Steam beta)
55   -- `-i N ` interval in seconds to be used when computing APM (default: 10)
  56 +- `-i N` interval in seconds to be used when computing APM (default: 10)
56 57
57 58
58 59 Unlicense

0 comments on commit 0087cf3

Please sign in to comment.
Something went wrong with that request. Please try again.